Skip to content

Commit

Permalink
fix build error wrt static rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
MaHaWo committed Aug 28, 2024
1 parent 4d88ab7 commit e729eb4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/routes/childLand/[userID]/[childID]/+page.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ export async function load({ params }) {
error(404, 'Not Found');
}
}
export const prerender = false;
1 change: 1 addition & 0 deletions src/routes/dataAcquisition/[surveyName]/+page.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ export async function load({ params }) {
data: data
};
}
export const prerender = false;
2 changes: 1 addition & 1 deletion src/routes/dataAcquisition/[surveyName]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import AbstractContent from '$lib/components/AbstractContent.svelte';
import AbstractDataInput from '$lib/components/DataInput/AbstractDataInput.svelte';
import AbstractDropdownItem from '$lib/components/DataInput/AbstractDropdownItem.svelte';
import { type MilestoneDef } from '$lib/stores/contentStore';
/**
* Converts the milestone data and adds components to display each element.
* @param milestoneData list of milestone data recovered from the backend
Expand Down
2 changes: 1 addition & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const config = {
// these options are set automatically — see below
pages: 'build',
assets: 'build',
fallback: undefined,
fallback: 'index.html',
precompress: false,
strict: true
})
Expand Down

0 comments on commit e729eb4

Please sign in to comment.