mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-03 08:32:52 +00:00
switch deploy method
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
import adapter from "@sveltejs/adapter-static"
|
||||
import preprocess from "svelte-preprocess"
|
||||
|
||||
const dev = process.argv.includes("dev")
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
preprocess: [preprocess()],
|
||||
kit: {
|
||||
paths: {
|
||||
base: dev ? "" : "/dotio",
|
||||
},
|
||||
adapter: adapter(),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user