Skip to content
This repository was archived by the owner on Jul 21, 2019. It is now read-only.
This repository was archived by the owner on Jul 21, 2019. It is now read-only.

Deprecate weburl key in config.toml #455

@mattstratton

Description

@mattstratton

Expected behavior

We should be using the Hugo standard patterns of baseURL along with absURL and relURL to generate URLs.

Actual behavior

Instead, we have this wonky weburl key, which makes testing certain things challenging with deploy previews.

Reproduction Steps

No reproduction steps

The overall issue is solved in the netlify.toml section, through judicious use of URL and DEPLOY_PRIME_URL environment variables in the build contexts. That is to say, the baseURL for production should be URL, but for deploy previews it should be DEPLOY_PRIME_URL.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions