updated year in LICENSE
parent
d1d8d96243
commit
c2bc3bac85
|
@ -1,6 +1,6 @@
|
||||||
//Switch Classes Function
|
//Switch Classes Function
|
||||||
function getAPI(){
|
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
|
// 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/";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2020 MyEMS
|
Copyright (c) 2021 MyEMS
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2020 MyEMS
|
Copyright (c) 2021 MyEMS
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
Loading…
Reference in New Issue