fix: Absolute css url
This commit is contained in:
parent
174e9990d9
commit
d66f9ce864
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class WebsiteTheme(Document):
|
|||
content = content.replace('\n', '\\n')
|
||||
command = ['node', 'generate_bootstrap_theme.js', file_name, content]
|
||||
frappe.commands.popen(command, cwd=frappe.get_app_path('frappe', '..'), shell=False)
|
||||
self.css_file_url = 'assets/frappe/website_theme/' + file_name
|
||||
self.css_file_url = '/assets/frappe/website_theme/' + file_name
|
||||
|
||||
def use_theme(self):
|
||||
use_theme(self.name)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue