Skip to content

Commit 0acd173

Browse files
committed
fix: path issue of docker
1 parent b4c2cf6 commit 0acd173

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Parse-Dashboard/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = function (config, options) {
6464

6565
// wait for app to mount in order to get mountpath
6666
app.on('mount', function (parent) {
67-
parent.use('/v2/', express.static(path.join(__dirname, 'public/v2')));
67+
parent.use('/v2/', express.static(path.join(__dirname, 'v2')));
6868
const mountPath = getMount(app.mountpath);
6969
const users = config.users;
7070
const useEncryptedPasswords = config.useEncryptedPasswords ? true : false;

v2/vite.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import react from '@vitejs/plugin-react-swc';
55
export default defineConfig({
66
plugins: [react()],
77
build: {
8-
outDir: '../Parse-Dashboard/public/v2',
8+
outDir: '../Parse-Dashboard/v2',
99
emptyOutDir: true,
1010
rollupOptions: {
1111
output: {

0 commit comments

Comments
 (0)