Svelte: Generalize config file name

In preparation for adding fields about non-disk options
This commit is contained in:
Alessandro Pignotti 2024-10-14 15:41:01 +02:00
parent d4fd5f1be5
commit bb46f1340e
4 changed files with 4 additions and 4 deletions

View file

@ -0,0 +1,2 @@
export const diskImageUrl = "wss://disks.webvm.io/debian_large_20230522_5044875331.ext2";
export const diskImageType = "cloud";

View file

@ -1,2 +0,0 @@
export const diskImageUrl = "wss://disks-staging.webvm.io/debian_large_20230522_5044875331.ext2";
export const diskImageType = "cloud";

View file

@ -1,6 +1,6 @@
<script>
import WebVM from '$lib/WebVM.svelte';
import * as configObj from 'diskConfig'
import * as configObj from 'config_terminal'
</script>
<WebVM configObj={configObj} />

View file

@ -5,7 +5,7 @@ import { viteStaticCopy } from 'vite-plugin-static-copy';
export default defineConfig({
resolve: {
alias: {
'diskConfig': 'diskConfig.cloud.js'
'config_terminal': 'config_public_terminal.js'
}
},
build: {