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

Adding domain adds trailing slash to CSS #2414

Closed
3 tasks done
liquidpeachy opened this issue Nov 28, 2021 · 5 comments
Closed
3 tasks done

Adding domain adds trailing slash to CSS #2414

liquidpeachy opened this issue Nov 28, 2021 · 5 comments
Labels
archived This issue has been locked. hosting question Further information is requested

Comments

@liquidpeachy
Copy link

Before opening, please confirm:

App Id

https://eu-west-2.console.aws.amazon.com/amplify/home?region=eu-west-2&code=46353428bac8180cc3e1

Region

No response

Step

Domain

Status

Success

Issue or question

When I use the default amplify subdomain, my CSS file works fine. But when I add my domain to the site, Amplify adds a trailing slash to the .CSS file. Therefore my CSS never loads. I've tried using rewrite rules to mitigate it, but it doesn't work.

Error message

No response

Additional information

No response

@liquidpeachy liquidpeachy added the custom-domain Custom domain issues label Nov 28, 2021
@github-actions
Copy link

Hi 👋, thanks for opening! While we look into this...

If this issue is related to custom domains, be sure to check the custom domains troubleshooting guide to see if that helps. Also, there is a more general troubleshooting FAQ that may be helpful for other questions.

Lastly, please make sure you've specified the App ID and Region in the issue!

@benwwalker1
Copy link

Hi, I am having the same issue. My site deploys properly on the amplify subdomain, but fails to load CSS on the custom domain.

@Jay2113 Jay2113 added question Further information is requested hosting and removed custom-domain Custom domain issues labels Jul 12, 2023
@saadataz
Copy link
Contributor

The issue no longer reproducible

Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Copy link

This issue has been automatically locked.

@github-actions github-actions bot added the archived This issue has been locked. label Jul 26, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived This issue has been locked. hosting question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants