mirror of https://gitgud.io/cncanon/sg-proxy.git
license + misc changes
This commit is contained in:
parent
51d6736d5c
commit
f13482d729
|
@ -0,0 +1,13 @@
|
||||||
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||||
|
Version 2, December 2004
|
||||||
|
|
||||||
|
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim or modified
|
||||||
|
copies of this license document, and changing it is allowed as long
|
||||||
|
as the name is changed.
|
||||||
|
|
||||||
|
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. You just DO WHAT THE FUCK YOU WANT TO.
|
2
main.js
2
main.js
|
@ -155,7 +155,7 @@ else if (API_TOKEN.indexOf("sgp_") == -1) {
|
||||||
// Check token validity
|
// Check token validity
|
||||||
checkToken(API_TOKEN).then(isValid => {
|
checkToken(API_TOKEN).then(isValid => {
|
||||||
if (!isValid) {
|
if (!isValid) {
|
||||||
console.error("Invalid SourceGraph API token! The token is not valid. Make sure you copied the whole token.");
|
console.error("Invalid SourceGraph API token! Make sure you copied the whole token and that the token is not revoked.");
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue