medias XHR request with wrong scheme
Greetings...
I'm having trouble with accessing media library in the admin area in production. Mixed content error. The request for 'medias' is being made via http: scheme even though APP_URL, APP_ADMIN_URL, and ASSET_URL are all set with the https: scheme.
Any idea how to fix? Thanks!
Hro•443d ago
hey @Pauly is your app url with http or https?
Pauly•442d ago
It's https
All other urls and requests are being correctly performed with https. Other than displaying images in the media library, everything else is working.
Thank you for your assistance with this. I never did figure out what the root cause of the issue was, but I managed to get it to work by using: if (env('APP_ENV') === 'production'){URL::forceScheme('https');} One guess is that a handful of URLs are being generated not from the ENV (config) variables but some other way that was getting confused, possibly because I'm running this behind nginx in production. Just a theory but at least I am enjoy some Twill love now! Thanks again.
1.4KMembers
View on DiscordWant results from more Discord servers?
More Postsremove positioning and nesting from the page indexGood morning. Tell me how to remove positioning and nesting from the page index in the admin panel?
Connecting additional fields depending on the value in the record when selected in the browser compoGood morning. Can you tell me if it is possible to implement the doing in twill?
I have a browser iCustom function in a Module ControllerI need to trigger a custom function that is run after a user clicks "Update" for a post in a Twill mTiptap WYSIWYGHi everyone,
I would like to know if there is a way to use toolbar align options with tiptap type wySorting by a translation field (ie, title)Hi everyone, I feel like I must be missing something simple (as usual) or am making something overlyProblem with displaying headers if the site is in two languagesGood morning. I decided to look at twill 3 version.
I use two languages (ru-main, en-I want to add Issuing rights to upload to the media libraryGood afternoon! Tell me how to give the right dip for the defined role to upload files / images to tAttribute [singleton] does not exist.Hello there im working in a twill website,and i got this error , can you help me sloving this error Disable live - draftAny way to disable this feature on forms? Have tried multiple things, but non of it seems to work.output selected blocks on the front in different placesGood afternoon! Tell me how you can draw blocks on the front selectively?
Example
Block 1
text te