fix CORS issue
This commit is contained in:
		
							parent
							
								
									19ffff4fcd
								
							
						
					
					
						commit
						5ee8449af6
					
				@ -317,6 +317,7 @@ module.exports.create = function (app, xconfx, apiFactories, apiDeps, errorIfApi
 | 
			
		||||
        ], methods: [ "GET", "POST", "PATCH", "PUT", "DELETE" ] });
 | 
			
		||||
      }
 | 
			
		||||
      cors(req, res, apiApp);
 | 
			
		||||
      return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    apiApp(req, res, next);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user