netlify is more reliable

This commit is contained in:
Pacharapol Withayasakpunt committed 2019-12-25 13:30:54 +07:00
1 parent 7fe8f5d154
commit 4dfff986d4
16 files changed
+42 -105

No files matched your search

+3
View File
@@ -1,5 +1,8 @@
import QParser from 'q2filter'
export const TAGS = JSON.parse(process.env.tags!)
export const HASH = JSON.parse(process.env.hash!)
export function escapeRegExp (s: string) {
return s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&') // $& means the whole matched string
}