Skip to content

Problems when developing under DIRACOS #758

@AZSlow3

Description

@AZSlow3

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions