Browse Source

fix: Update Swagger json path & favicon

re #428

Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
pull/441/head
Pranav C 3 years ago
parent
commit
9bbb41a08a
  1. 1
      packages/nocodb/src/lib/noco/rest/RestApiBuilder.ts
  2. 9
      packages/nocodb/src/lib/noco/rest/ui/auth/swagger.ts

1
packages/nocodb/src/lib/noco/rest/RestApiBuilder.ts

@ -1542,6 +1542,7 @@ export class RestApiBuilder extends BaseApiBuilder<Noco> {
this.router.get(`/${this.getDbAlias()}/swagger`, async (_req, res) => {
res.send(ejs.render((await import('./ui/auth/swagger')).default, {
ncPublicUrl: process.env.NC_PUBLIC_URL || '',
baseUrl: `/`,
dbAlias: this.getDbAlias(),
projectId: this.projectId

9
packages/nocodb/src/lib/noco/rest/ui/auth/swagger.ts

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save