Skip to content

Commit 5ea830f

Browse files
Merge pull request #10 from commercetools/update-deployment-uri
Update deployment URI
2 parents b07a365 + 66fa7c2 commit 5ea830f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

full-ingestion/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ app.use(bodyParser.json());
1717
app.use(bodyParser.urlencoded({ extended: true }));
1818

1919
// Define routes
20-
app.use('/', SyncRoutes);
20+
app.use('/fullSync', SyncRoutes);
2121

2222
// Listen the application
2323
const server = app.listen(PORT, () => {

full-ingestion/src/routes/sync.route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ import { syncHandler } from '../controllers/sync.controller.js';
44

55
const syncRouter = Router();
66

7-
syncRouter.post('/fullSync/:storeKey', syncHandler);
7+
syncRouter.post('/:storeKey', syncHandler);
88

99
export default syncRouter;

incremental-updater/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ app.use(bodyParser.json());
1515
app.use(bodyParser.urlencoded({ extended: true }));
1616

1717
// Define routes
18-
app.use('/', EventRoutes);
18+
app.use('/deltaSync', EventRoutes);
1919

2020
// Listen the application
2121
const server = app.listen(PORT, () => {

incremental-updater/src/routes/event.route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ async function eventHandler(request, response) {
6363
}
6464
}
6565

66-
eventRouter.post('/deltaSync', eventHandler);
66+
eventRouter.post('/', eventHandler);
6767

6868
export default eventRouter;

0 commit comments

Comments
 (0)