Skip to content

Malformed URLs for theme assets #1

@doamatto

Description

@doamatto

The URLs for Bootstrap have an extra slash, resulting in a 404. These URLs look like this: http://anki.github.io/assets/themes//resources/bootstrap/js/bootstrap.min.js (note the // between themes and resources).

There are two solutions:

  1. Rewrite instances like these to not have a slash; or:
  2. Define ASSET_PATH (seen here) to workaround this.

The latter may be a more ideal solution as template/include files will remain easy to read and likely require less editing to make everything work, as opposed to the former. This is a non-issue for the analytic includes, as far as I'm aware.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions