updated year in LICENSE

pull/37/head
13621160019@163.com 2021-04-25 11:55:17 +08:00
parent d1d8d96243
commit c2bc3bac85
3 changed files with 4 additions and 4 deletions

View File

@ -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/";
}

View File

@ -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

2
web/LICENSE vendored
View File

@ -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