focus-flow | 让代码变成一条流将后端中间件方式移植到前端,通过维护ctx上下文来处理业务逻辑,降低函数间的耦合
kandi X-RAY | focus-flow Summary
kandi X-RAY | focus-flow Summary
让代码变成一条流
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of focus-flow
focus-flow Key Features
focus-flow Examples and Code Snippets
Community Discussions
Trending Discussions on focus-flow
QUESTION
Following this question : Static Publishing in Silverstripe on Large Sites
We've been implementing the module from this fork (https://github.com/Focus-Flow/silverstripe-staticpublishqueue/) and it's working great locally. We have done some modification to implement our own categories page, but nothing special.
The only issue is now when we test on our server, which use https rather than http in local, nothing is working anymore. I've been trying to change a couple of thing in the FileSystemPublisher.php file to use https rather than http, but it's not doing anything.
An other thing, and it might be linked, when I go in the admin backend of our subsites, all the page links in the edit page are in "http" and apparently there is a https redirection on the server.
So I guess I have two questions :
How to make static publishing queue work with https ?
How to make silverstripe understand that all of the website page should be in https and not in http, so it shows this way in the admin backend ?
Thanks in advance.
...ANSWER
Answered 2017-Nov-23 at 06:37Subsite
has a method called absoluteBaseURL()
, so you might try this in your Page_Controller::init()
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install focus-flow
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page