mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	Fix rebase error
This commit is contained in:
		
							parent
							
								
									d7c1360cc7
								
							
						
					
					
						commit
						124fbf9b6d
					
				@ -9,10 +9,7 @@ const sharedSecret = '12312Random';
 | 
				
			|||||||
unleash
 | 
					unleash
 | 
				
			||||||
    .start({
 | 
					    .start({
 | 
				
			||||||
        databaseUrl: 'postgres://unleash_user:passord@localhost:5432/unleash',
 | 
					        databaseUrl: 'postgres://unleash_user:passord@localhost:5432/unleash',
 | 
				
			||||||
<<<<<<< HEAD
 | 
					 | 
				
			||||||
        enableLegacyRoutes: false,
 | 
					        enableLegacyRoutes: false,
 | 
				
			||||||
=======
 | 
					 | 
				
			||||||
>>>>>>> 0681945... Document how to secure client api #231
 | 
					 | 
				
			||||||
        preRouterHook: app => {
 | 
					        preRouterHook: app => {
 | 
				
			||||||
            app.use('/api/client', (req, res, next) => {
 | 
					            app.use('/api/client', (req, res, next) => {
 | 
				
			||||||
                if (req.headers.authorization === sharedSecret) {
 | 
					                if (req.headers.authorization === sharedSecret) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user