Skip to content

Make base path portable for domain migration #160

Description

@braboj

As the site owner migrating to codewithbranko.com, I want the base path to be configurable without editing source.

What

astro.config.mjs line 9 hardcodes base: '/tutorial-git/'. Also public/robots.txt hardcodes the sitemap URL to braboj.me.

Why

Domain migration (#135) will require changing these values. An env variable makes it portable.

Acceptance criteria

  • Base path reads from environment variable with fallback to /tutorial-git/
  • robots.txt auto-generated from Astro config site value (not hardcoded)

Activity

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

Metadata

Metadata

Assignees

Labels

P2Site quality — UX and performancetaskSingle unit of work

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions