add register button, addLocation api
Co-authored-by: Nikita Dudnik <nikdudnik@gmail.com> Co-authored-by: Ben Lambert <ben@blam.sh>
This commit is contained in:
@@ -73,10 +73,10 @@
|
||||
}
|
||||
},
|
||||
"/catalog/api": {
|
||||
"target": "http://localhost:3003",
|
||||
"target": "http://localhost:7000",
|
||||
"changeOrigin": true,
|
||||
"pathRewrite": {
|
||||
"^/catalog/api/": "/"
|
||||
"^/catalog/api/": "/catalog/"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,12 +70,12 @@ async function main() {
|
||||
app.use(requestLoggingHandler());
|
||||
app.use('/catalog', await catalog(createEnv('catalog')));
|
||||
app.use('/scaffolder', await scaffolder(createEnv('scaffolder')));
|
||||
app.use(
|
||||
'/sentry',
|
||||
await sentry(getRootLogger().child({ type: 'plugin', plugin: 'sentry' })),
|
||||
);
|
||||
app.use('/auth', await auth(createEnv('auth')));
|
||||
app.use('/identity', await identity(createEnv('identity')));
|
||||
// app.use(
|
||||
// '/sentry',
|
||||
// await sentry(getRootLogger().child({ type: 'plugin', plugin: 'sentry' })),
|
||||
// );
|
||||
// app.use('/auth', await auth(createEnv('auth')));
|
||||
// app.use('/identity', await identity(createEnv('identity')));
|
||||
app.use(notFoundHandler());
|
||||
app.use(errorHandler());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user