poprawki i zmiany ux
This commit is contained in:
@@ -2,14 +2,22 @@ import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
|
||||
const noStoreHeaders = {
|
||||
"Cache-Control": "no-store, no-cache, must-revalidate, proxy-revalidate",
|
||||
Pragma: "no-cache",
|
||||
Expires: "0",
|
||||
};
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react(), tailwindcss()],
|
||||
server: {
|
||||
host: "0.0.0.0",
|
||||
port: 5173
|
||||
port: 5173,
|
||||
headers: noStoreHeaders,
|
||||
},
|
||||
preview: {
|
||||
host: "0.0.0.0",
|
||||
port: 4173
|
||||
}
|
||||
port: 4173,
|
||||
headers: noStoreHeaders,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user