I got no errors in terminal, its a fresh theme only edited the config.js file to match routes and to point source to my wordpress.
Every page returns 404, why does that happen?
Here is my config:
const settings = {
name: "example",
state: {
frontity: {
url: "https://test.frontity.org",
title: "Test Frontity Blog",
description: "WordPress installation for Frontity development",
},
},
packages: [
{
name: "@frontity/mars-theme",
state: {
theme: {
menu: [
["Home", "/"],
["Blog", "/blog/"],
["About Us", "/about/"],
],
featured: {
showOnList: false,
showOnPost: false,
},
},
},
},
{
name: "@frontity/wp-source",
state: {
source: {
url: "https://dariokolic.com/wp-json",
},
},
},
"@frontity/tiny-router",
"@frontity/html2react",
],
};
export default settings;
I am not using Vercel but Node.js Server on a hosting, even locally I get the 404 on pages.
Here is the frontity live: https://frontity.dariokolic.com/
Wordpress: https://dariokolic.com/