Started seperating non-free images/audio from mian codebase.
This commit is contained in:
parent
64f9d713da
commit
53fc46adc3
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -10,4 +10,6 @@ config.json.old
|
|||
state.json
|
||||
chatexamples.txt
|
||||
server.cert
|
||||
server.key
|
||||
server.key
|
||||
www/nonfree/*
|
||||
www/nonfree/README.md
|
||||
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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 |
Loading…
Reference in a new issue