lab
This commit is contained in:
parent
b70dca95f9
commit
398df2fba8
2 changed files with 3 additions and 4 deletions
|
|
@ -3,7 +3,7 @@ server {
|
|||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
location /lab/data-dashboard/ {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,10 +2,9 @@ import { defineConfig } from 'vite';
|
|||
import react from '@vitejs/plugin-react';
|
||||
|
||||
export default defineConfig({
|
||||
base: '/lab/data-dashboard/',
|
||||
plugins: [react()],
|
||||
worker: {
|
||||
// This ensures your worker is bundled as an ES module,
|
||||
// which is required for modern browsers and deployment.
|
||||
format: 'es',
|
||||
format: 'es',
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Reference in a new issue