Merge pull request #5098 from Budibase/fix/preview-app

Fix app preview
This commit is contained in:
Rory Powell 2022-03-25 16:51:21 +00:00 committed by GitHub
commit 9bfde6b1da
2 changed files with 19 additions and 1320 deletions

View File

@ -44,6 +44,7 @@ router
authorized(PermissionTypes.TABLE, PermissionLevels.WRITE), authorized(PermissionTypes.TABLE, PermissionLevels.WRITE),
controller.uploadFile controller.uploadFile
) )
.get("/:appId/:path*", controller.serveApp)
.get("/app/:appUrl/:path*", controller.serveApp) .get("/app/:appUrl/:path*", controller.serveApp)
.post( .post(
"/api/attachments/:datasourceId/url", "/api/attachments/:datasourceId/url",

File diff suppressed because it is too large Load Diff