license + misc changes

This commit is contained in:
CncAnon 2023-08-28 14:38:59 +03:00
parent 51d6736d5c
commit f13482d729
2 changed files with 14 additions and 1 deletions

13
LICENSE Normal file
View File

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

View File

@ -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);
} }