Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the baseURL for dev and prod use caes #220

Merged
merged 1 commit into from Nov 26, 2020

Conversation

afrittoli
Copy link
Member

@afrittoli afrittoli commented Nov 26, 2020

Changes

The baseURL is not set for dev and prod which causes the following
issues:

  • for dev, the URL shown on the console is not the correct one
  • for prod, the generated sitemap.xml uses relative URLs, which
    makes it not parsable by the search engine

This is already setup correctly for deploy-previews.

Partially fixes #191

Signed-off-by: Andrea Frittoli andrea.frittoli@gmail.com

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide
for more details.

/cc @vdemeester

The baseURL is not set for dev and prod which causes the following
issues:
- for dev, the URL shown on the console is not the correct one
- for prod, the generated sitemap.xml uses relative URLs, which
  makes it not parsable by the search engine

This is already setup correctly for deploy-previews.

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 26, 2020
@afrittoli
Copy link
Member Author

The sitemap in the preview still looks good: https://5fbfb2ff0f90740008113a06--tekton.netlify.app/sitemap.xml

@tekton-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 26, 2020
@vdemeester
Copy link
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 26, 2020
@tekton-robot tekton-robot merged commit 9f3f9ec into tektoncd:master Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve Search
3 participants