Skip to content

Commit d31ea42

Browse files
Update langcode.js
1 parent be4605e commit d31ea42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stuff/langcode.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
export const langcode = (id) => {
22
return id == 1 ? 'ru' : id == 2 ? 'fr' : id == 3 ? 'ua' : 'en';
3+
}
4+
export const debug = (path) => {
5+
return path.replace(/\/(.*?)\/(.*?)/, '/$2');
36
}

0 commit comments

Comments
 (0)