fix(admin-panel): fix blog bugs and add ingredients editor, draft autosave, and category seeding
This commit is contained in:
1 parent
ebc61d5be2
commit
913e6acd3d
11 files changed
+375
-20
No files matched your search
@@ -6,9 +6,10 @@ export class RevalidationService {
|
||||
|
||||
private get frontendUrl(): string {
|
||||
const raw =
|
||||
process.env.FRONTEND_INTERNAL_URL ||
|
||||
process.env.FRONTEND_URL ||
|
||||
process.env.NEXT_PUBLIC_SITE_URL ||
|
||||
'http://localhost:3000';
|
||||
(process.env.NODE_ENV === 'production' ? 'http://frontend_prod:8080' : 'http://localhost:3000');
|
||||
return raw.replace(/\/+$/, '');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user