diff --git a/attached_assets/{9BBA2253-DFCC-4F76-A735-38FDCDCAF4D3}_1759329827628.png b/attached_assets/{9BBA2253-DFCC-4F76-A735-38FDCDCAF4D3}_1759329827628.png new file mode 100644 index 0000000..348d439 Binary files /dev/null and b/attached_assets/{9BBA2253-DFCC-4F76-A735-38FDCDCAF4D3}_1759329827628.png differ diff --git a/server/routes.ts b/server/routes.ts index e2318a2..de4d2a9 100644 --- a/server/routes.ts +++ b/server/routes.ts @@ -3507,8 +3507,8 @@ export async function registerRoutes(app: Express): Promise { } }); - // Publicity routes - app.get('/api/publicities', isAuthenticated, async (req: any, res) => { + // Publicity routes (renamed to campaigns to avoid adblocker issues) + app.get('/api/campaigns', isAuthenticated, async (req: any, res) => { try { const user = await storage.getUserWithGroups(req.user.claims ? req.user.claims.sub : req.user.id); if (!user) { @@ -3542,7 +3542,7 @@ export async function registerRoutes(app: Express): Promise { } }); - app.get('/api/publicities/:id', isAuthenticated, async (req: any, res) => { + app.get('/api/campaigns/:id', isAuthenticated, async (req: any, res) => { try { const user = await storage.getUserWithGroups(req.user.claims ? req.user.claims.sub : req.user.id); if (!user) {