Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems when developing under DIRACOS #758

Open
AZSlow3 opened this issue Apr 17, 2024 · 0 comments
Open

Problems when developing under DIRACOS #758

AZSlow3 opened this issue Apr 17, 2024 · 0 comments

Comments

@AZSlow3
Copy link

AZSlow3 commented Apr 17, 2024

When under DIRACOS,
self.root = rootPath in src/WebAppDIRAC/Core/StaticHandler.py is set to diracos directory.
In case source repository is outside of that directory (f.e. in parallel directory), tornado will not pickup static files (since they are "outside root").
WebApp/Routing VERBOSE: Static paths found knows all static directories in use, so I think self.root should point to common directory for all of them (in case that sounds insecure, it probably can be dynamic).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant