reverted to symlink, updated hosts to allow all from apps.doma.in

This commit is contained in:
Nathan Windisch 2025-03-09 06:53:38 +00:00
parent 0015bcab58
commit af20179159
2 changed files with 2 additions and 20 deletions

View File

@ -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,
},
});

1
vite.config.js Symbolic link
View File

@ -0,0 +1 @@
vite.config.ts

View File

@ -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"],
},
});