Skip to content

Commit

Permalink
Fix deployment (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
spartacus04 committed Mar 26, 2024
1 parent 5ffcc16 commit cd8eef6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
hljs.registerLanguage('java', java);
hljs.registerLanguage('gradle', gradle);
hljs.registerLanguage('xml', xml);
hljs.registerLanguage('http', http);
initializeStores();
storeHighlightJs.set(hljs);
Expand Down
1 change: 1 addition & 0 deletions src/routes/+layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { invoke } from '@tauri-apps/api/tauri';

export const ssr = false;
export const prerender = true;
export const trailingSlash = "always";

export const load: LayoutLoad = async ({ url }) => {
if (window.__TAURI__) {
Expand Down
5 changes: 4 additions & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ const config = {
extensions: ['.svelte'],
preprocess: [vitePreprocess()],
kit: {
adapter: adapter()
adapter: adapter(),
paths: {
base: '/jext-reborn'
}
}
};
export default config;

0 comments on commit cd8eef6

Please sign in to comment.