Bump version - fix svelte.config.js
This commit is contained in:
parent
d3cec6e15b
commit
29de27181c
@ -1,3 +1,3 @@
|
||||
export const version: string = '2023.7.1';
|
||||
export const versionTag: string = 'beta.6';
|
||||
export const versionTag: string = 'beta7';
|
||||
export const showWelcome: boolean = true;
|
||||
|
@ -4,9 +4,8 @@
|
||||
import Loading from '$lib/navigation/loading.svelte';
|
||||
import Nav from '$lib/navigation/nav.svelte';
|
||||
import LargeLogo from '$lib/images/large-logo.svelte';
|
||||
import { version, versionTag } from '$lib/stores/version.js';
|
||||
import { version, versionTag } from '$lib/stores/version';
|
||||
const title = 'Versions';
|
||||
const variable = { title: '' };
|
||||
|
||||
async function getData() {
|
||||
const url = 'https://owlboard.info/misc/server/versions';
|
||||
|
@ -40,7 +40,7 @@ self.addEventListener('fetch', (event) => {
|
||||
try {
|
||||
return await fetch(event.request);
|
||||
} catch (err) {
|
||||
return { error: 'OFFLINE', errorMsg: 'You are not online' };
|
||||
return { error: 'OFFLINE', errorMsg: 'You are offline' };
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,17 +1,15 @@
|
||||
import adapter from '@sveltejs/adapter-auto';
|
||||
import adapter from '@sveltejs/adapter-static';
|
||||
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
||||
// for more information about preprocessors
|
||||
preprocess: vitePreprocess(),
|
||||
|
||||
kit: {
|
||||
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
|
||||
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
||||
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
||||
adapter: adapter()
|
||||
adapter: adapter({
|
||||
pages: 'build',
|
||||
assets: 'build',
|
||||
precompress: true,
|
||||
strict: true
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user