Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4c3efea

Browse files
committed
Change it so the categories endpoint is consistent by removing slugify
1 parente4bc4ea commit4c3efea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎backend/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ app.get("/languages", (_req, res) => {
5151
// Get all categories for a given language
5252
app.get("/categories/:language",(req,res)=>{
5353
const{ language}=req.params;
54-
constfile=path.join(dataDir,`consolidated/${slugify(language)}.json`);
54+
constfile=path.join(dataDir,`consolidated/${language}.json`);
5555
constjson=readJSON(file);
5656

5757
if(!json){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp