This repository has been archived by the owner on Jan 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 602
DRS docs break with CSP that blocks inline scripts #434
Comments
I at least found the source of my problem ... I'm using CSP to prevent inline scripts, and the django-rest-swagger app uses inline scripting to show api endpoints. |
groovecoder
added a commit
to groovecoder/django-rest-swagger
that referenced
this issue
Apr 25, 2016
Starting a fix branch here: https://github.com/groovecoder/django-rest-swagger/tree/remove-inlines-434 So far I've removed the inline |
I'm trying to fix the last of the JS to work without inline |
groovecoder
added a commit
to groovecoder/django-rest-swagger
that referenced
this issue
Apr 26, 2016
groovecoder
added a commit
to groovecoder/django-rest-swagger
that referenced
this issue
May 5, 2016
groovecoder
added a commit
to groovecoder/django-rest-swagger
that referenced
this issue
May 5, 2016
Inline scripts have been removed in #470 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
(See mozilla-services/push-dev-dashboard#181 for my context)
In my
settings.py
, I have:In my
dashboard.urls
I have:And in my api.urls I have:
But, when I go to my /api/docs/ url I don't see any of the endpoints registered in
api.urls
?And I can't tell where the "example.com" value is coming from? My site domain name and display name are both "127.0.0.1:8000".
The text was updated successfully, but these errors were encountered: