Skip to content

Commit

Permalink
try without precompression
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian committed Mar 7, 2024
1 parent 0c0098a commit 6606977
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/routes/einzelverssynopse/[thirties]/[verse]/+page.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ export function entries() {
// Generate all 827 Dreissiger with 1-30 verses
/** @type {import('./$types').RouteParams[]} */
const entryArray = [];
/*for (let thirties = 1; thirties <= 827; thirties++) {
for (let thirties = 1; thirties <= 827; thirties++) {
for (let verse = 1; verse <= 30; verse++) {
entryArray.push({
thirties: `${thirties}`,
verse: `${verse}`
});
}
}*/
}
// too many open files :(
for (let thirties = 1; thirties <= 2; thirties++) {
/*for (let thirties = 1; thirties <= 2; thirties++) {
for (let verse = 1; verse <= 30; verse++) {
entryArray.push({
thirties: `${thirties}`,
verse: `${verse}`
});
}
}
}*/

return entryArray;
}
2 changes: 1 addition & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const config = {
kit: {
adapter: adapter({
fallback: '404.html',
precompress: true
precompress: false
}),
paths: {
base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
Expand Down

0 comments on commit 6606977

Please sign in to comment.