📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
fixed route convention warning
Blue Mouse4eb189a99720
diff --git a/remix.config.js b/remix.config.jsindex 79c789343..4d3413920 100644--- a/remix.config.js+++ b/remix.config.js@@ -1,3 +1,7 @@+const {+ createRoutesFromFolders,+} = require("@remix-run/v1-route-convention")+/** @type {import('@remix-run/dev').AppConfig} */module.exports = {ignoredRouteFiles: ['**/.*'],@@ -14,7 +18,7 @@ module.exports = {v2_normalizeFormMethod: true,v2_dev: true,v2_headers: true,- // v2_routeConvention: true,+ v2_routeConvention: true,},serverDependenciesToBundle: ['axios',@@ -28,4 +32,8 @@ module.exports = {'robust-predicates',],serverMinify: process.env.NODE_ENV === 'production',+ routes(defineRoutes) {+ // uses the v1 convention, works in v1.15+ and v2+ return createRoutesFromFolders(defineRoutes)+ }}