Skip to content

How to remove https://localhost domin in production sitemap and robots.txt #349

Discussion options

You must be logged in to vote

The location option is not a server option, it must be moved to the root of the config:

const site = lume(
  {
    location: new URL("https://officialrajdeepsingh.dev"),
    server: {
      page404: "/404/",
    },
  },
  { markdown },
);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@officialrajdeepsingh
Comment options

Answer selected by officialrajdeepsingh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants