Skip to content

Hardcoded port and API URL should be configurable #11

@EliotGodard

Description

@EliotGodard

Problem

The server port (8080) is partially configurable via $PORT, but the external questions API URL is hardcoded in agxgame.js. Other settings like scoring values are in config.json but the API base URL is not.

Suggested fix

Move the API base URL to config.json or environment variables so deployments can point to different question sources without modifying code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions