mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Remove unneeded /dev routing
This commit is contained in:
		
							parent
							
								
									076f71d490
								
							
						
					
					
						commit
						69dd82d329
					
				| @ -72,8 +72,7 @@ module.exports = { | |||||||
|   ], |   ], | ||||||
| 
 | 
 | ||||||
|   proxy: { |   proxy: { | ||||||
|     '/api/': { target: process.env.NODE_ENV !== 'production' ? 'http://localhost:3333' : '/' }, |     [`${process.env.ROUTER_BASE_PATH || ''}/api/`]: { target: process.env.NODE_ENV !== 'production' ? 'http://localhost:3333' : '/' } | ||||||
|     '/dev/': { target: 'http://localhost:3333', pathRewrite: { '^/dev/': '' } } |  | ||||||
|   }, |   }, | ||||||
| 
 | 
 | ||||||
|   io: { |   io: { | ||||||
|  | |||||||
| @ -13,7 +13,6 @@ export default function ({ $axios, store, $config }) { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     if (process.env.NODE_ENV === 'development') { |     if (process.env.NODE_ENV === 'development') { | ||||||
|       config.url = `/dev${config.url}` |  | ||||||
|       console.log('Making request to ' + config.url) |       console.log('Making request to ' + config.url) | ||||||
|     } |     } | ||||||
|   }) |   }) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user