Change dev port to 8080

This commit is contained in:
Dennis Kobert 2023-03-04 00:31:15 +01:00 committed by Keavon Chambers
parent 1df30ee7ea
commit 30ef695c48
2 changed files with 4 additions and 2 deletions

View file

@ -4,7 +4,7 @@
"beforeBuildCommand": "npm run build",
"beforeDevCommand": "npm run tauri:dev",
"distDir": "../dist",
"devPath": "http://127.0.0.1:5173/"
"devPath": "http://127.0.0.1:8080/"
},
"package": {
"productName": "graphite-tauri",

View file

@ -8,7 +8,6 @@ import license from "rollup-plugin-license"
import * as path from "path";
import svgLoader from 'vite-svg-loader'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue(), toplevelawait(), wasm() , svgLoader()],
@ -29,4 +28,7 @@ export default defineConfig({
],
},
},
server: {
port: 8080
}
})