W3Layouts / gatsby-starter-delog

A blog for designers and developer, built with Gatsby and Netlfiy CMS. Live demo https://delog-w3layouts.netlify.com/
MIT License
196 stars 95 forks source link

Got error accessing to admin. #15

Closed rikusen0335 closed 4 years ago

rikusen0335 commented 4 years ago

When I access to admin, the page say

Error loading the CMS configuration
Config Errors:
'collections[1].fields[1].pattern' should NOT have fewer than 2 items
Check your config.yml file.

Am I wrong with configurations? I think I set everything in readme.

RanjithNair commented 4 years ago

@rikusen0335 You will have to change this line in the config.yml file to the below one :-

pattern: [/, 'Path must start with /']

rikusen0335 commented 4 years ago

This fixed issue! Thanks a lot. But why this fix the issue?