mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-02 03:54:59 +08:00
feature (admin): improvements
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
export function t(str = "", replacementString, requestedKey) {
|
||||
export default function t(str = "", replacementString, requestedKey) {
|
||||
const calculatedKey = str.toUpperCase()
|
||||
.replace(/ /g, "_")
|
||||
.replace(/[^a-zA-Z0-9\-\_\*\{\}\?]/g, "")
|
||||
|
||||
Reference in New Issue
Block a user