-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds information to README.md file how to use vue-devtools #1446
Conversation
59fd444
to
3b03c17
Compare
README.md
Outdated
diff --git a/lib/public/AppFramework/Http/ContentSecurityPolicy.php b/lib/public/AppFramework/Http/ContentSecurityPolicy.php | ||
index 3a9ab8f8c1..4bc2b4a4d0 100644 | ||
--- a/lib/public/AppFramework/Http/ContentSecurityPolicy.php | ||
+++ b/lib/public/AppFramework/Http/ContentSecurityPolicy.php | ||
@@ -42,9 +42,9 @@ namespace OCP\AppFramework\Http; | ||
*/ | ||
class ContentSecurityPolicy extends EmptyContentSecurityPolicy { | ||
/** @var bool Whether inline JS snippets are allowed */ | ||
- protected $inlineScriptAllowed = false; | ||
+ protected $inlineScriptAllowed = true; | ||
/** @var bool Whether eval in JS scripts is allowed */ | ||
- protected $evalScriptAllowed = false; | ||
+ protected $evalScriptAllowed = true; | ||
/** @var array Domains from which scripts can get loaded */ | ||
protected $allowedScriptDomains = [ | ||
'\'self\'', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add some code block with diff linting? Dunno if github supports it right away 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand sorry :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a block quote https://stackoverflow.com/a/40883538/3885878
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes it works!
I've updated my PR
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
3b03c17
to
48f2fb5
Compare
Signed-off-by: Cyrille Bollu cyrpub@bollu.be