1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-11-05 15:30:14 +01:00

Improve setup

This commit is contained in:
Elias Schneider 2022-05-12 21:48:37 +02:00
parent d4da3cae30
commit c28d3f960e
No known key found for this signature in database
GPG Key ID: D5EC1C72D93244FD
2 changed files with 2 additions and 2 deletions

View File

@ -6,4 +6,4 @@ PUBLIC_APPWRITE_HOST=http://localhost/v1
PUBLIC_MAX_FILE_SIZE=300000000 # Note: Should be the same as in the _APP_STORAGE_LIMIT in the Appwrite .env file PUBLIC_MAX_FILE_SIZE=300000000 # Note: Should be the same as in the _APP_STORAGE_LIMIT in the Appwrite .env file
PUBLIC_DISABLE_REGISTRATION=true # Note: In the Appwrite console you have to change your user limit to 0 if false and else to 1 PUBLIC_DISABLE_REGISTRATION=true # Note: In the Appwrite console you have to change your user limit to 0 if false and else to 1
PUBLIC_DISABLE_HOME_PAGE=false PUBLIC_DISABLE_HOME_PAGE=false
PUBLIC_MAIL_SHARE_ENABLED=false PUBLIC_MAIL_SHARE_ENABLED=false # Note: If set to true you have to add your SMTP server. See "Additional configurations" in the README file

View File

@ -3,7 +3,7 @@ import rl from "readline-sync";
import cookie from "cookie"; import cookie from "cookie";
const getToken = async () => { const getToken = async () => {
console.info("Please enter your Appwrite credentials \n"); console.info("Please enter your Appwrite credentials");
var email = rl.question("Email: "); var email = rl.question("Email: ");
var password = rl.question("Password: ", { var password = rl.question("Password: ", {
hideEchoBack: true, hideEchoBack: true,