Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Sep 27, 2024
1 parent d6967b8 commit d53fd7c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion common
4 changes: 3 additions & 1 deletion scripts/build-common.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@
file.with_suffix(
"." + hashlib.sha3_256(file.read_bytes()).hexdigest()[:6] + ".json"
).name
).write_bytes(json.dumps(yaml.safe_load(file.read_bytes())).encode())
).write_bytes(
json.dumps(yaml.safe_load(file.read_bytes()), ensure_ascii=False, indent=2).encode()
)
4 changes: 2 additions & 2 deletions server/templates/new-subject.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@
} from '/static/@bgm38/wiki/0.2.8/dist/index.js';
import platforms
from '/static/common/subject_platforms.370f9e.json' assert {type: 'json'};
from '/static/common/subject_platforms.fc5f5a.json' assert {type: 'json'};
import templates
from '/static/common/wiki_template.7ce1ba.json' assert {type: 'json'};
from '/static/common/wiki_template.2ffc41.json' assert {type: 'json'};
const subjectType = {{ subject_type | tojson }};
const configForSubjectType = platforms.platforms[subjectType];
Expand Down
1 change: 0 additions & 1 deletion static/common/subject_platforms.370f9e.json

This file was deleted.

1 change: 0 additions & 1 deletion static/common/wiki_template.7ce1ba.json

This file was deleted.

0 comments on commit d53fd7c

Please sign in to comment.