-
-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
626 changed files
with
8,930 additions
and
5,135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ packages/volto-guillotina | |
dist | ||
packages/registry/lib | ||
packages/registry/docs | ||
apps/rr7/.react-router |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
dist | ||
docs | ||
node_modules | ||
packages/registry/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ node_modules | |
/build | ||
/public/build | ||
.env | ||
.registry.loader.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import config from '@plone/registry'; | ||
import { blocksConfig, slate } from '@plone/blocks'; | ||
|
||
const settings = { | ||
apiPath: 'http://localhost:8080/Plone', | ||
slate, | ||
}; | ||
|
||
// @ts-expect-error We need to fix typing | ||
config.set('settings', settings); | ||
|
||
// @ts-expect-error We need to fix typing | ||
config.set('blocks', { blocksConfig }); | ||
|
||
export default config; | ||
import applyAddonConfiguration from '@plone/registry/addons-loader'; | ||
|
||
export default function install() { | ||
applyAddonConfiguration(config); | ||
config.settings.apiPath = | ||
process.env.PLONE_API_PATH || 'http://localhost:3000'; | ||
config.settings.internalApiPath = process.env.PLONE_INTERNAL_API_PATH || ''; | ||
console.log('API_PATH is:', config.settings.apiPath); | ||
console.log( | ||
'INTERNAL_API_PATH is:', | ||
config.settings.internalApiPath || 'not set', | ||
); | ||
return config; | ||
} |
Oops, something went wrong.