diff --git a/vite.config.js b/vite.config.js deleted file mode 100644 index 1ca1a5f..0000000 --- a/vite.config.js +++ /dev/null @@ -1,18 +0,0 @@ -import path from "path"; -import tailwindcss from "@tailwindcss/vite"; -import { defineConfig } from "vite"; -import react from "@vitejs/plugin-react"; - -// https://vite.dev/config/ -export default defineConfig({ - plugins: [react(), tailwindcss()], - resolve: { - alias: { - "@": path.resolve(__dirname, "./src"), - }, - }, - server: { - // allowedHosts: ["tid.apps.nathanwindisch.com", "tid.apps.wnd.sh"], - allowedHosts: true, - }, -}); diff --git a/vite.config.js b/vite.config.js new file mode 120000 index 0000000..3c018ee --- /dev/null +++ b/vite.config.js @@ -0,0 +1 @@ +vite.config.ts \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 1ca1a5f..cf92c84 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -12,7 +12,6 @@ export default defineConfig({ }, }, server: { - // allowedHosts: ["tid.apps.nathanwindisch.com", "tid.apps.wnd.sh"], - allowedHosts: true, + allowedHosts: [".apps.nathanwindisch.com", ".apps.wnd.sh"], }, });