Skip to content

Commit

Permalink
fix: path issue of docker
Browse files Browse the repository at this point in the history
  • Loading branch information
patelmilanun committed Mar 31, 2024
1 parent b4c2cf6 commit 0acd173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Parse-Dashboard/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = function (config, options) {

// wait for app to mount in order to get mountpath
app.on('mount', function (parent) {
parent.use('/v2/', express.static(path.join(__dirname, 'public/v2')));
parent.use('/v2/', express.static(path.join(__dirname, 'v2')));
const mountPath = getMount(app.mountpath);
const users = config.users;
const useEncryptedPasswords = config.useEncryptedPasswords ? true : false;
Expand Down
2 changes: 1 addition & 1 deletion v2/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import react from '@vitejs/plugin-react-swc';
export default defineConfig({
plugins: [react()],
build: {
outDir: '../Parse-Dashboard/public/v2',
outDir: '../Parse-Dashboard/v2',
emptyOutDir: true,
rollupOptions: {
output: {
Expand Down

0 comments on commit 0acd173

Please sign in to comment.