Skip to content

Commit

Permalink
Merge pull request #229 from FlowFuse/replace-legacy-project-urls
Browse files Browse the repository at this point in the history
Replace url paths that were pointing to deprecated FF endpoints
  • Loading branch information
Steve-Mcl committed Apr 18, 2024
2 parents 6e36168 + b69f870 commit 279538d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/runtimeSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function getSettingsFile (settings) {
page_title: 'FlowFuse',
page_favicon: '',
header_title: 'FlowFuse',
header_url: `url: '${settings.forgeURL}/project/${settings.projectID}'`,
header_url: `url: '${settings.forgeURL}/instance/${settings.projectID}'`,
palette: {
allowInstall: true,
nodesExcludes: [],
Expand Down Expand Up @@ -169,7 +169,7 @@ function getSettingsFile (settings) {
const themeSettings = {
launcherVersion: settings.launcherVersion,
forgeURL: settings.forgeURL,
projectURL: `${settings.forgeURL}/project/${settings.projectID}`
projectURL: `${settings.forgeURL}/instance/${settings.projectID}`
}
projectSettings.themeSettings = `"${projectSettings.theme}": ${JSON.stringify(themeSettings)},`
projectSettings.theme = `theme: '${projectSettings.theme}',`
Expand Down Expand Up @@ -282,7 +282,7 @@ module.exports = {
${projectSettings.header_url}
},
logout: {
redirect: '${settings.forgeURL}/project/${settings.projectID}'
redirect: '${settings.forgeURL}/instance/${settings.projectID}'
},
codeEditor: {
lib: '${projectSettings.codeEditor}'
Expand Down

0 comments on commit 279538d

Please sign in to comment.