Started seperating non-free images/audio from mian codebase.

This commit is contained in:
rainbow napkin 2025-10-06 05:00:35 -04:00
parent 64f9d713da
commit 53fc46adc3
4 changed files with 6 additions and 4 deletions

4
.gitignore vendored
View file

@ -10,4 +10,6 @@ config.json.old
state.json
chatexamples.txt
server.cert
server.key
server.key
www/nonfree/*
www/nonfree/README.md

View file

@ -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: {

View file

@ -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!"
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB