|
@@ -0,0 +1,18 @@
|
|
|
+{
|
|
|
+ "buildCommand": "pnpm run build",
|
|
|
+ "devCommand": "pnpm run dev",
|
|
|
+ "rewrites": [
|
|
|
+ {
|
|
|
+ "source": "/stats/js/script.js",
|
|
|
+ "destination": "https://plausible.io/js/script.js"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "source": "/stats/api/event",
|
|
|
+ "destination": "https://plausible.io/api/event"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "source": "/(.*)",
|
|
|
+ "destination": "/error-404.html"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+}
|