From e2ad3acff4b0570bdb2822ccc042ce2eab692cd8 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Wed, 10 Apr 2019 17:43:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E9=87=8D=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/config/routes.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/config/routes.php b/application/config/routes.php index 785e325..6bef8da 100644 --- a/application/config/routes.php +++ b/application/config/routes.php @@ -52,3 +52,4 @@ defined('BASEPATH') OR exit('No direct script access allowed'); $route['default_controller'] = 'home'; $route['404_override'] = ''; $route['translate_uri_dashes'] = FALSE; +$route['api/upload'] = 'upload/localhost';