This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "pwa-node", | |
| "request": "launch", | |
| "name": "Start", | |
| "runtimeExecutable": "${workspaceFolder}/node_modules/next/dist/bin/next", | |
| "env": { | |
| "NODE_OPTIONS": "--inspect" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* Verificacion especial recaptcha - cf7 */ | |
| add_filter('wpcf7_spam', function ($spam) { | |
| if ($spam) { | |
| return $spam; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // I usually put this in config/firebaseAdmin.js | |
| import * as admin from 'firebase-admin' | |
| // You need your account service key json file inlined in .env | |
| let serviceAccount = JSON.parse(process.env.FIREBASE_ACCOUNTKEY) | |
| let config = { | |
| credential: admin.credential.cert(serviceAccount) | |
| } | |
| export default !admin.apps.length ? admin.initializeApp(config) : admin; |
OlderNewer