fix(cache): target Next server for fallback revalidation
This commit is contained in:
1 parent
e96a13b255
commit
c40e931168
2 files changed
+11
-1
No files matched your search
@@ -10,7 +10,7 @@ export class RevalidationService {
|
||||
process.env.FRONTEND_URL ||
|
||||
process.env.NEXT_PUBLIC_SITE_URL ||
|
||||
(process.env.NODE_ENV === "production"
|
||||
? "http://frontend_prod:8080"
|
||||
? "http://frontend_prod:3000"
|
||||
: "http://localhost:3000");
|
||||
return raw.replace(/\/+$/, "");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user