Skip to content

Commit

Permalink
proxy /static/rest_framework/ to the django API (#4010)
Browse files Browse the repository at this point in the history
* proxy /static/rest_framework/ to the django API
Issue: AAH-2148

Signed-off-by: EamonTracey <etracey@redhat.com>

* add changelog

Signed-off-by: EamonTracey <etracey@redhat.com>

---------

Signed-off-by: EamonTracey <etracey@redhat.com>
  • Loading branch information
EamonTracey authored Aug 2, 2023
1 parent 5df1fbf commit bf26dc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/2148.bug
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Properly display DRF API in browser with CSS
1 change: 1 addition & 0 deletions config/community.dev.webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ module.exports = webpackBase({
'/complete/': `http://${proxyHost}:${proxyPort}`,
'/login/': `http://${proxyHost}:${proxyPort}`,
'/pulp/api/': `http://${proxyHost}:${proxyPort}`,
'/static/rest_framework/': `http://${proxyHost}:${proxyPort}`,
},
});

0 comments on commit bf26dc7

Please sign in to comment.