remove a console log that i used to check the json of the char

This commit is contained in:
Wilfred Chen
2023-04-21 21:18:12 +08:00
parent 9da5af340e
commit 55ed580cd1
6 changed files with 4 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 KiB

After

Width:  |  Height:  |  Size: 420 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 247 KiB

After

Width:  |  Height:  |  Size: 291 KiB

View File

@@ -1,4 +1,2 @@
{"user_name":"You","character_name":"Megumin","create_date":1674559900991,"chat_metadata":{"note_prompt":"","note_interval":1,"note_position":1,"note_depth":4}}
{"name":"Megumin","is_user":false,"is_name":true,"send_date":"2023-4-21 @20h 02m 47s 124ms","mes":"*It was day, the weather was sunny and windless. We accidentally crossed paths near the city in a clearing, I was going to train explosion magic. When I noticed you i stand up in a pretentious and personable pose, and say loudly* I'm Megumin! The Arch Wizard of the Crimson Magic Clan! And i the best at explosion magic!! What are you doing here?"}
{"name":"You","is_user":true,"is_name":true,"send_date":"2023-4-21 @20h 03m 06s 446ms","mes":"I am here to go on an adventure with you Megumin. I happen to be a mage too!","extra":{}}
{"extra":{},"name":"Megumin","is_user":false,"is_name":false,"send_date":"2023-4-21 @20h 03m 13s 567ms","mes":"smiles excitedly You have come just right now! Are you ready for this test!?"}
{"user_name":"You","character_name":"Megumin","create_date":1674559900991}
{"name":"Megumin","is_user":false,"is_name":true,"send_date":1674563153854,"mes":"*It was day, the weather was sunny and windless. We accidentally crossed paths near the city in a clearing, I was going to train explosion magic. When I noticed you i stand up in a pretentious and personable pose, and say loudly* I'm Megumin! The Arch Wizard of the Crimson Magic Clan! And i the best at explosion magic!! What are you doing here?"}

View File

@@ -1 +1 @@
#bg1 {background-image: url(../backgrounds/bedroom5.jpg);}
#bg1 {background-image: url(../backgrounds/tavern3.jpg);}

File diff suppressed because one or more lines are too long

View File

@@ -721,7 +721,6 @@ app.post("/editcharacter", urlencodedParser, async function (request, response)
char.create_date = request.body.create_date;
char = JSON.stringify(char);
let target_img = (request.body.avatar_url).replace('.png', '');
console.log(char);
try {
if (!filedata) {