Skip to content

Commit

Permalink
Improve permissions: make /api and /share public
Browse files Browse the repository at this point in the history
  • Loading branch information
tituspijean authored and Salamandar committed Jun 10, 2024
1 parent 035ae11 commit aeb6fe7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,17 @@ ram.runtime = "200M"

[resources.permissions]
main.url = "/"


api.url = "/api"
api.allowed = "visitors"
api.auth_header = false
api.protected = true

share.url = "/share"
share.allowed = "visitors"
share.auth_header = false
share.protected = true

[resources.ports]
main.default = 4001

Expand Down

0 comments on commit aeb6fe7

Please sign in to comment.