mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	fix(server): missing bootstrap in prod
This commit is contained in:
		
							parent
							
								
									9c1a65427f
								
							
						
					
					
						commit
						ccb7dc557c
					
				@ -1,4 +1,3 @@
 | 
			
		||||
import "./stylesheets/bootstrap.scss";
 | 
			
		||||
import "normalize.css";
 | 
			
		||||
import "@triliumnext/ckeditor5/content.css";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -32,6 +32,7 @@
 | 
			
		||||
<!-- Required for correct loading of scripts in Electron -->
 | 
			
		||||
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
 | 
			
		||||
 | 
			
		||||
<link href="<%= appPath %>/bootstrap.css" rel="stylesheet">
 | 
			
		||||
<link href="<%= assetPath %>/stylesheets/ckeditor-theme.css" rel="stylesheet">
 | 
			
		||||
<link href="api/fonts" rel="stylesheet">
 | 
			
		||||
<link href="<%= assetPath %>/stylesheets/theme-light.css" rel="stylesheet">
 | 
			
		||||
 | 
			
		||||
@ -13,7 +13,7 @@
 | 
			
		||||
        }
 | 
			
		||||
    </style>
 | 
			
		||||
    <% // TriliumNextTODO: move the css file to ${assetPath}/stylesheets/  %>
 | 
			
		||||
    <link rel="stylesheet" href="<%= appPath %>/login.css">
 | 
			
		||||
    <link rel="stylesheet" href="<%= appPath %>/bootstrap.css">
 | 
			
		||||
    <link rel="stylesheet" href="<%= assetPath %>/stylesheets/theme-light.css">
 | 
			
		||||
    <link rel="stylesheet" href="<%= assetPath %>/stylesheets/theme-next.css">
 | 
			
		||||
    <link rel="stylesheet" href="<%= assetPath %>/stylesheets/style.css">
 | 
			
		||||
 | 
			
		||||
@ -112,6 +112,7 @@
 | 
			
		||||
<script src="<%= appPath %>/mobile.js" crossorigin type="module"></script>
 | 
			
		||||
 | 
			
		||||
<link href="api/fonts" rel="stylesheet">
 | 
			
		||||
<link rel="stylesheet" href="<%= appPath %>/bootstrap.css">
 | 
			
		||||
<link href="<%= assetPath %>/stylesheets/ckeditor-theme.css" rel="stylesheet">
 | 
			
		||||
<link href="<%= assetPath %>/stylesheets/theme-light.css" rel="stylesheet">
 | 
			
		||||
<% if (themeCssUrl) { %>
 | 
			
		||||
 | 
			
		||||
@ -7,7 +7,7 @@
 | 
			
		||||
    <link rel="apple-touch-icon" sizes="180x180" href="<%= assetPath %>/images/app-icons/ios/apple-touch-icon.png">
 | 
			
		||||
    <link rel="shortcut icon" href="favicon.ico">
 | 
			
		||||
    <% // TriliumNextTODO: move the css file to ${assetPath}/stylesheets/  %>
 | 
			
		||||
    <link rel="stylesheet" href="<%= appPath %>/set_password.css">
 | 
			
		||||
    <link rel="stylesheet" href="<%= appPath %>/bootstrap.css">
 | 
			
		||||
    <link rel="stylesheet" href="<%= assetPath %>/stylesheets/theme-light.css">
 | 
			
		||||
    <link rel="stylesheet" href="<%= assetPath %>/stylesheets/theme-next.css">
 | 
			
		||||
    <link rel="stylesheet" href="<%= assetPath %>/stylesheets/style.css">
 | 
			
		||||
 | 
			
		||||
@ -7,7 +7,7 @@
 | 
			
		||||
    <title><%= t("setup.title") %></title>
 | 
			
		||||
 | 
			
		||||
    <% // TriliumNextTODO: move the css file to ${assetPath}/stylesheets/  %>
 | 
			
		||||
    <link rel="stylesheet" href="<%= appPath %>/setup.css">
 | 
			
		||||
    <link rel="stylesheet" href="<%= appPath %>/bootstrap.css">
 | 
			
		||||
 | 
			
		||||
    <style>
 | 
			
		||||
        .lds-ring {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user