mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
24 lines
504 B
JavaScript
24 lines
504 B
JavaScript
import { defineConfig } from "astro/config";
|
|
import react from "@astrojs/react";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
export default defineConfig({
|
|
integrations: [react()],
|
|
redirects: {
|
|
"/discord": {
|
|
status: 302,
|
|
destination:
|
|
"https://discord.gg/PxwJ8DQHNE",
|
|
},
|
|
"/docs": {
|
|
status: 302,
|
|
destination: "https://docs.fabro.sh",
|
|
},
|
|
},
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
server: {
|
|
allowedHosts: [".ngrok-free.app"],
|
|
},
|
|
},
|
|
});
|