Skip to content

Make base path portable for domain migration #160

@braboj

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)

Metadata

Metadata

Assignees

No one assigned

    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