strip
This commit is contained in:
parent
2422e134a5
commit
9e8330c0cd
2 changed files with 3 additions and 7 deletions
|
|
@ -3,12 +3,7 @@ server {
|
|||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location = /lab/data-dashboard {
|
||||
return 301 /lab/data-dashboard/;
|
||||
}
|
||||
|
||||
location /lab/data-dashboard/ {
|
||||
rewrite ^/lab/data-dashboard/(.*)$ /$1 break;
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@ import { defineConfig } from 'vite';
|
|||
import react from '@vitejs/plugin-react';
|
||||
|
||||
export default defineConfig({
|
||||
base: '/lab/data-dashboard/',
|
||||
b// vite.config.ts
|
||||
base: '/',
|
||||
plugins: [react()],
|
||||
worker: {
|
||||
format: 'es',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue