Skip to content
#

realworld

Here are 141 public repositories matching this topic...

simbo1905
simbo1905 commented May 7, 2018

If I look in config\cors.php it has a line:

'allowedOrigins' => env('CORS_ALLOWED_ORIGINS') ? explode(',', env('CORS_ALLOWED_ORIGINS')) : ['*'],

I was unable to get anything working until I had set an environment variable CORS_ALLOWED_ORIGINS to match the domain name where the frontend is. When I set that env var to be a string that matched the ORIGIN domain name then things worke

nuzulfikrie
nuzulfikrie commented Dec 1, 2019

Hi All,

I followed the instructions in the docs.

When I entered migrations command into the terminal.
bin\cake migrations migrate

I encountered errors.

Environments : Apache 2.4 on XAMPP , PHP 7.3.9 , how to rectify this issue?

` using migration path E:\xampp\htdocs\cakephp-realworld-example-app\config\Migrations
using seed path E:\xampp\htdocs\cakephp-realworld-example-app\c

Improve this page

Add a description, image, and links to the realworld topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the realworld topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.