diff --git a/static-data/www/onboarding/onboarding.js b/static-data/www/onboarding/onboarding.js index 613372db..4549a2bc 100644 --- a/static-data/www/onboarding/onboarding.js +++ b/static-data/www/onboarding/onboarding.js @@ -1,3 +1,21 @@ +/* + Onionr - Private P2P Communication + + Handles onboarding for Onionr + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see +*/ fetch('/getnewkeys', { headers: { "token": webpass diff --git a/static-data/www/shared/main/apicheck.js b/static-data/www/shared/main/apicheck.js index 9a3b59f1..d5c1c758 100644 --- a/static-data/www/shared/main/apicheck.js +++ b/static-data/www/shared/main/apicheck.js @@ -1,3 +1,21 @@ +/* + Onionr - Private P2P Communication + + Checks if the api server is still online + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see +*/ apiOnline = true async function doPing(){ out = setTimeout(function(){