Skip to content

Hardcoded localhost:8080 in pod URL construction #156

@stultus

Description

@stultus

File: app/utils_db.py (lines 61, 289)

Description

Pod URLs are constructed using hardcoded http://localhost:8080 instead of using the configured SITENAME:

url = join("http://localhost:8080/api/pods/", contributor, lang, theme.replace(' ', '+'))
p.url = join('http://localhost:8080/api/pods/', target.replace(' ', '+'))

This causes broken pod URLs in any non-localhost deployment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghighHigh severity

    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