Skip to content

Changes necessary simply to update SvelteKit.#56

Merged
Dilden merged 8 commits intomainfrom
iss52
Sep 9, 2022
Merged

Changes necessary simply to update SvelteKit.#56
Dilden merged 8 commits intomainfrom
iss52

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

@Dilden Dilden merged commit db4ae5c into main Sep 9, 2022
@Dilden Dilden deleted the iss52 branch June 27, 2025 19:24
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