Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes necessary simply to update SvelteKit. #56

Merged
merged 8 commits into from
Sep 9, 2022
Merged

Changes necessary simply to update SvelteKit. #56

merged 8 commits into from
Sep 9, 2022

Conversation

Dilden
Copy link
Owner

@Dilden Dilden commented Sep 8, 2022

Added layout.js which now exports prerender = true.
Added vite.config.js with values taken from old svelte.config.js. Removed those values from svelte.config.js.
Renamed __layout.svelte > +layout.svelte

See here for more info

…ow exports prerender = true. Added vite.config.js with values taken from old svelte.config.js. Removed those valuse from svelte.config.js

.
Renamed __layout.svelte > +layout.svelte
Include basicSsl for HTTPS on dev.
Set port to 3000 for consistency.
Moved /static/helth.jpg to /src/static/helth.jpg
Changed $app/env to $app/environment
…ed line.

upc/server.js should return a Response object. It currently returns a nutrientsObject from utils/nutrients.js
@Dilden
Copy link
Owner Author

Dilden commented Sep 8, 2022

upc.js needs to return as Response object instead of the custom object it currently returns.

See sveltekit docs
and MDN docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant