generated from UoaWDCC/ssr-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Fix astro and removed failing test
- Loading branch information
Showing
2 changed files
with
8 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import tailwind from '@astrojs/tailwind'; | ||
import react from '@astrojs/react'; | ||
import { defineConfig } from "astro/config"; | ||
import react from "@astrojs/react"; | ||
|
||
import node from '@astrojs/node'; | ||
import node from "@astrojs/node"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
integrations: [tailwind(), react()], | ||
output: 'server', | ||
integrations: [react()], | ||
output: "server", | ||
adapter: node({ | ||
mode: 'standalone', | ||
mode: "standalone", | ||
}), | ||
server: ({ command }) => ({ | ||
port: command === 'dev' ? 4321 : 80, | ||
host: '0.0.0.0', | ||
port: command === "dev" ? 4321 : 80, | ||
host: "0.0.0.0", | ||
}), | ||
}); |
This file was deleted.
Oops, something went wrong.