Skip to content

Commit

Permalink
revert umami changes
Browse files Browse the repository at this point in the history
  • Loading branch information
webdevcody committed Nov 6, 2024
1 parent 2b6092d commit cfa66a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
4 changes: 2 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export default function RootLayout({
{process.env.NEXT_PUBLIC_ENABLE_UNAMI === "true" && (
<Script
defer
src="/umami.js"
data-website-id="9591881c-31c9-4fea-9c33-cf8272fa2b4e"
src="https://umami-production-101d.up.railway.app/script.js"
data-website-id="6e6265bb-25ed-4f8b-819b-44a27434ed51"
/>
)}
<html lang="en" suppressHydrationWarning>
Expand Down
12 changes: 0 additions & 12 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
async rewrites() {
return [
{
source: "/umami.js",
destination: "http://145.223.79.119:3000/script.js",
},
{
source: "/api/send",
destination: "http://145.223.79.119:3000/api/send",
},
];
},
};

export default nextConfig;

0 comments on commit cfa66a9

Please sign in to comment.