We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be4605e commit d31ea42Copy full SHA for d31ea42
stuff/langcode.js
@@ -1,3 +1,6 @@
1
export const langcode = (id) => {
2
return id == 1 ? 'ru' : id == 2 ? 'fr' : id == 3 ? 'ua' : 'en';
3
+}
4
+export const debug = (path) => {
5
+ return path.replace(/\/(.*?)\/(.*?)/, '/$2');
6
}
0 commit comments