Skip to content
Draft

swap #633

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 24 additions & 6 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,36 @@
"hosting": [
{
"target": "root",
"public": "out",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
"public": ".next/out",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
},
{
"target": "hackcamp2025_dev",
"public": "out",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
"public": ".next/out",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
},
{
"target": "hackcamp2025_main",
"public": "out",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
"public": ".next/out",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
]
}
3 changes: 0 additions & 3 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import type { NextConfig } from "next";

const nextConfig: NextConfig = {
images: {
// Must disable for output: "export"
unoptimized: true,
remotePatterns: [
{
protocol: "https",
Expand All @@ -13,7 +11,6 @@ const nextConfig: NextConfig = {
},
],
},
output: "export",
};

export default nextConfig;
2 changes: 2 additions & 0 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ export default function Home() {
</div>
);
}

export const dynamic = "force-dynamic";
1 change: 0 additions & 1 deletion src/sections/sponsor-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,3 @@ const SponsorFooter = async () => {
};

export default SponsorFooter;
export const dynamic = "force-dynamic";
Loading