我安装了门卫,我没有做任何配置,也没有在我的 application.css 中包含任何门卫样式表,但仍然列出了门卫的样式表。
application.css 的内容:
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any styles
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope.
*
*= require bootstrap
*= require_tree .
*= require_self
*/
我检查了 lib/assets/stylesheets,并且 vendor/assets/stylesheets 也没有看到任何门卫 css。如何删除如下生成的门卫 css:
<link href="/assets/doorkeeper/bootstrap.min.css?body=1" media="screen" rel="stylesheet" />
<link href="/assets/doorkeeper/application.css?body=1" media="screen" rel="stylesheet" />
<link href="/assets/doorkeeper/admin/application.css?body=1" media="screen" rel="stylesheet" />
我试图在门卫的 GIT 页面上阅读,但未能找到解决我的问题的方法。请帮忙。