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