Skip to content

[PlayFramework 2.2.1] Path Problem in alternate route context #3

Description

@jackchi

Hello James,

When I change my Play Framework default route in "application.conf"
to
application.context = "/path/to/my/prefix"

I get a webjar/require.js error on Line 101:

GET http://localhost:9000/webjars/requirejs/2.1.8/require.js 404 (Not Found)
...
document.getElementsByTagName("head")[0].appendChild(script);

Could it be that the script tag does not have the current application context?

Jack

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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