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

Multisite issues with manifest file #24

Closed
furioursus opened this issue Aug 28, 2019 · 1 comment
Closed

Multisite issues with manifest file #24

furioursus opened this issue Aug 28, 2019 · 1 comment

Comments

@furioursus
Copy link

If I have a multisite environment, such as site.test and site.test/jp, Twigpack creates the URL for the manifest file using the full siteUrl, such that what would normally be http://site.test/assets/css/app.css?id=31b936e9b9364486cabb is now http://site.test/jp/assets/css/app.css?id=31b936e9b9364486cabb. Is there a config override for this or some way to alias the language/site url to point to the original file?

@khalwat
Copy link
Contributor

khalwat commented Sep 6, 2019

So the way to do this would be to set your SITE_URL environment variable to just the domain, and then use that in your Twigpack settings.

Then use that + the suffix in your general.php settings.

@khalwat khalwat closed this as completed Sep 6, 2019
@dGilli dGilli mentioned this issue Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants