diff --git a/.gitignore b/.gitignore index bd8bfad..6bb63d2 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,6 @@ config.json.old state.json chatexamples.txt server.cert -server.key \ No newline at end of file +server.key +www/nonfree/* +www/nonfree/README.md \ No newline at end of file diff --git a/src/schemas/channel/channelSchema.js b/src/schemas/channel/channelSchema.js index c3055ca..bbf72c5 100644 --- a/src/schemas/channel/channelSchema.js +++ b/src/schemas/channel/channelSchema.js @@ -60,7 +60,7 @@ const channelSchema = new mongoose.Schema({ thumbnail: { type: mongoose.SchemaTypes.String, required: true, - default: "/img/johnny.png" + default: "/nonfree/johnny.png" }, settings: { hidden: { diff --git a/src/schemas/user/userSchema.js b/src/schemas/user/userSchema.js index 434447c..d456127 100644 --- a/src/schemas/user/userSchema.js +++ b/src/schemas/user/userSchema.js @@ -79,7 +79,7 @@ const userSchema = new mongoose.Schema({ img: { type: mongoose.SchemaTypes.String, required: true, - default: "/img/johnny.png" + default: "/nonfree/johnny.png" }, bio: { type: mongoose.SchemaTypes.String, @@ -318,7 +318,7 @@ userSchema.statics.findProfile = async function(user, includeEmail = false){ date: (await statModel.getStats()).firstLaunch, tokes: await statModel.getTokeCommandCounts(), tokeCount: await statModel.getTokeCount(), - img: "/img/johnny.png", + img: "/nonfree/johnny.png", signature: "!TOKE", bio: "!TOKE OR DIE!" }; diff --git a/www/img/johnny.png b/www/img/johnny.png deleted file mode 100644 index b133555..0000000 Binary files a/www/img/johnny.png and /dev/null differ