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

2
.gitignore vendored
View file

@ -11,3 +11,5 @@ state.json
chatexamples.txt chatexamples.txt
server.cert server.cert
server.key server.key
www/nonfree/*
www/nonfree/README.md

View file

@ -60,7 +60,7 @@ const channelSchema = new mongoose.Schema({
thumbnail: { thumbnail: {
type: mongoose.SchemaTypes.String, type: mongoose.SchemaTypes.String,
required: true, required: true,
default: "/img/johnny.png" default: "/nonfree/johnny.png"
}, },
settings: { settings: {
hidden: { hidden: {

View file

@ -79,7 +79,7 @@ const userSchema = new mongoose.Schema({
img: { img: {
type: mongoose.SchemaTypes.String, type: mongoose.SchemaTypes.String,
required: true, required: true,
default: "/img/johnny.png" default: "/nonfree/johnny.png"
}, },
bio: { bio: {
type: mongoose.SchemaTypes.String, type: mongoose.SchemaTypes.String,
@ -318,7 +318,7 @@ userSchema.statics.findProfile = async function(user, includeEmail = false){
date: (await statModel.getStats()).firstLaunch, date: (await statModel.getStats()).firstLaunch,
tokes: await statModel.getTokeCommandCounts(), tokes: await statModel.getTokeCommandCounts(),
tokeCount: await statModel.getTokeCount(), tokeCount: await statModel.getTokeCount(),
img: "/img/johnny.png", img: "/nonfree/johnny.png",
signature: "!TOKE", signature: "!TOKE",
bio: "!TOKE OR DIE!" bio: "!TOKE OR DIE!"
}; };

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB