Great video as usually. Little remark in your fetch exemple. Replacing ‘http’ with ‘https’ will lead to an error if it’s already https, will result in ‘httpss’. Isn’t better use `replace(‘http:’, ‘https:’)`?
Great video, but there should be one problem with the replacement of http to https. If I have a fetch wich is already using https this would be replaced to httpss, wouldn't it?
@@JoyofCodeDev if possible please do it in a shared hosting environment with cpanel , its very Important for me , tried deploying and failed many times.
For the html attribut lang="%lang", it works on Firefox, but on chromium browser, it seem to be hardcoded in "en" by the browser. Do you now if we can correct it ? Very nice tutorial by the way !
But what about the OPTIONS method not allowed error when on CORS? I keep getting that and can't move on with the new sveltekit (1.x.x) but in the old version prior to that, I don't get the error.