-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
local dev config for universal editor
- Loading branch information
1 parent
ce30f5a
commit f02c0b2
Showing
3 changed files
with
43 additions
and
0 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
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
22 changes: 22 additions & 0 deletions
22
...src/main/templates/to.adapt.xwalk.components-aem-cms/local-dev-config.osgiconfig.json.hbs
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"configurations": { | ||
|
||
{{!-- Local development with Univesal Editor --}} | ||
"com.day.crx.security.token.impl.impl.TokenAuthenticationHandler": { | ||
"token.required.attr": "none", | ||
{{!-- Switch from 'Lax' to 'None' --}} | ||
"token.samesite.cookie.attr": "None" | ||
}, | ||
"org.apache.sling.engine.impl.SlingMainServlet": { | ||
"sling.max.calls": 1500, | ||
{{!-- Remove entry 'X-FRAME-OPTIONS: SAMEORIGIN ' --}} | ||
"sling.additional.response.headers": ["X-Content-Type-Options=nosniff"] | ||
}, | ||
"com.adobe.aem.wcm.franklin.internal.UniversalEditorSettings": { | ||
"plugin": "$[env:AEM_XWALK_AUE_PLUGIN;default=xwalk]", | ||
{{!-- Add endpoint https://localhost:8000 as fallback --}} | ||
"endpoint": "$[env:AEM_XWALK_AUE_ENDPOINT;default=https://localhost:8000]" | ||
} | ||
|
||
} | ||
} |