I am working to create a custom theme and following this guide:
https://developer.atlassian.com/cloud/confluence/create-a-confluence-theme/
The difference is that I DO NOT want to “Override the space home page”. I’ve left routeOverride as false, but still the default overview page won’t load (continuous spinning).
If I look in the console I see the following:
Failed to load resource: the server responded with a status of 404 (Not Found)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /space/DOC</pre>
</body>
</html>
I have the following in my atlassian-connect.json:
{
"key": "my-add-on",
"name": "Ping Pong",
"description": "My very first add-on",
"vendor": {
"name": "Angry Nerds",
"url": "https://www.atlassian.com/angrynerds"
},
"baseUrl": "{{localBaseUrl}}",
"links": {
"self": "{{localBaseUrl}}/atlassian-connect.json",
"homepage": "{{localBaseUrl}}/atlassian-connect.json"
},
"authentication": {
"type": "jwt"
},
"lifecycle": {
"installed": "/installed"
},
"scopes": [
"READ"
],
"modules": {
"confluenceThemes": [
{
"key": "my-first-theme",
"routeOverride": false,
"availableGlobally": true,
"icon": {
"width": 110,
"height": 70,
"url":"/icon.png"
},
"name": {
"value": "Hello World Theme"
},
"description": {
"value": "My first Connect theme."
},
"routes": {
"spaceview": {
"url": "/space/{space.key}"
}
}
}
]
},
"apiMigrations": {
"gdpr": true
}
}