From c2bc3bac854858e362a9a20ef6f96b3b03061170 Mon Sep 17 00:00:00 2001 From: "13621160019@163.com" <13621160019@163.com> Date: Sun, 25 Apr 2021 11:55:17 +0800 Subject: [PATCH] updated year in LICENSE --- admin/app/api.js | 4 ++-- myems-api/LICENSE | 2 +- web/LICENSE | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/app/api.js b/admin/app/api.js index 2e928445..89aa9e28 100644 --- a/admin/app/api.js +++ b/admin/app/api.js @@ -1,6 +1,6 @@ //Switch Classes Function function getAPI(){ - return "http://127.0.0.1:8000/"; + //return "http://127.0.0.1:8000/"; // to avoid CORS issue, use Nginx to proxy myems-api to path /api with the same ip and port as myems-web - //return window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/api/"; + return window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/api/"; } diff --git a/myems-api/LICENSE b/myems-api/LICENSE index c6cedd28..b91c1ac4 100644 --- a/myems-api/LICENSE +++ b/myems-api/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 MyEMS +Copyright (c) 2021 MyEMS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/web/LICENSE b/web/LICENSE index c6cedd28..b91c1ac4 100644 --- a/web/LICENSE +++ b/web/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 MyEMS +Copyright (c) 2021 MyEMS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal