Skip to content

Commit

Permalink
Merge pull request #5098 from Budibase/fix/preview-app
Browse files Browse the repository at this point in the history
Fix app preview
  • Loading branch information
Rory-Powell authored Mar 25, 2022
2 parents 1eaaded + b4bad65 commit fc00192
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1,320 deletions.
1 change: 1 addition & 0 deletions packages/server/src/api/routes/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ router
authorized(PermissionTypes.TABLE, PermissionLevels.WRITE),
controller.uploadFile
)
.get("/:appId/:path*", controller.serveApp)
.get("/app/:appUrl/:path*", controller.serveApp)
.post(
"/api/attachments/:datasourceId/url",
Expand Down
Loading

0 comments on commit fc00192

Please sign in to comment.