@@ -26,7 +26,6 @@ import {
2626 setApplicationInfo ,
2727 submitApplicationInfo ,
2828} from "./routes/application_info" ;
29- import { createEventPushSubscription , deleteEventPushSubscription , getEventSubscriptions } from "./routes/event_subscriptions"
3029import { getMeetInfo , setMeetInfo } from "./routes/meet_info" ;
3130import { getUsedMeals , setUsedMeals } from "./routes/used_meals" ;
3231import { getWorkshopList , setWorkshopList } from "./routes/workshop_info" ;
@@ -95,11 +94,6 @@ import {
9594 getSponsorDetail ,
9695 createAdmin
9796} from "./routes/sponsors"
98- import LiveNotificationsService from "./services/live_notifications" ;
99-
100- // Start the notification service
101- const notificationService = new LiveNotificationsService ( ) ;
102- notificationService . start ( ) ;
10397
10498// Set up the Express app
10599const app = express ( ) ;
@@ -155,11 +149,6 @@ apiRouter.get("/leaderboard", [anonymousRoute], leaderboard);
155149apiRouter . post ( "/mentor_create" , [ anonymousRoute ] , mentorCreate ) ;
156150apiRouter . post ( "/sponsor/admin" , createAdmin ) ;
157151
158- // Live push notifications, no auth required
159- apiRouter . post ( '/live/event_subscriptions' , createEventPushSubscription ) ;
160- apiRouter . delete ( '/live/event_subscriptions' , deleteEventPushSubscription ) ;
161- apiRouter . get ( '/live/event_subscriptions' , getEventSubscriptions ) ;
162-
163152apiRouter . use ( "/" , authenticatedRoute ) ;
164153
165154// Auth - user must be signed in:
0 commit comments