diff --git a/src/routes/_utils/replaceEmoji.js b/src/routes/_utils/replaceEmoji.js index e1bd06b2..96a28172 100644 --- a/src/routes/_utils/replaceEmoji.js +++ b/src/routes/_utils/replaceEmoji.js @@ -11,7 +11,7 @@ export function replaceEmoji (string, replacer) { const emojiRegex = getEmojiRegex() function safeReplacer (substring) { - // emoji regex matches digits and pound sign https://git.io/fpl6J + // emoji regex matches digits and pound sign https://github.com/mathiasbynens/emoji-regex/issues/33#issuecomment-373674579 if (substring.match(NON_EMOJI_REGEX)) { return substring } diff --git a/src/server.js b/src/server.js index ee819581..8dfe0dec 100644 --- a/src/server.js +++ b/src/server.js @@ -11,5 +11,5 @@ app.use(sapper.middleware()) app.listen(PORT, () => console.log(`listening on port ${PORT}`)) -// Handle SIGINT (source: https://git.io/vhJgF) +// Handle SIGINT (source: https://github.com/pouchdb/pouchdb-server/blob/fdc6ba7/packages/node_modules/pouchdb-server/lib/index.js#L304-L306) process.on('SIGINT', () => process.exit(0))