mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	fix(monorepo/server): serving of libraries
This commit is contained in:
		
							parent
							
								
									1af338b64f
								
							
						
					
					
						commit
						ccb5ee744c
					
				| @ -22,6 +22,7 @@ async function register(app: express.Application) { | |||||||
|         app.use(`/${assetPath}/app`, persistentCacheStatic(path.join(srcRoot, "../../client/build"))); |         app.use(`/${assetPath}/app`, persistentCacheStatic(path.join(srcRoot, "../../client/build"))); | ||||||
|         app.use(`/${assetPath}/app-dist`, persistentCacheStatic(path.join(srcRoot, "../../client/build"))); |         app.use(`/${assetPath}/app-dist`, persistentCacheStatic(path.join(srcRoot, "../../client/build"))); | ||||||
|         app.use(`/${assetPath}/stylesheets`, persistentCacheStatic(path.join(srcRoot, "../../client/stylesheets"))); |         app.use(`/${assetPath}/stylesheets`, persistentCacheStatic(path.join(srcRoot, "../../client/stylesheets"))); | ||||||
|  |         app.use(`/${assetPath}/libraries`, persistentCacheStatic(path.join(srcRoot, "../../client/libraries"))); | ||||||
|     } else { |     } else { | ||||||
|         app.use(`/${assetPath}/app`, persistentCacheStatic(path.join(srcRoot, "public/app"))); |         app.use(`/${assetPath}/app`, persistentCacheStatic(path.join(srcRoot, "public/app"))); | ||||||
|         app.use(`/${assetPath}/app-dist`, persistentCacheStatic(path.join(srcRoot, "public/app-dist"))); |         app.use(`/${assetPath}/app-dist`, persistentCacheStatic(path.join(srcRoot, "public/app-dist"))); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran