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
| { | |
| "workbench.startupEditor": "none", | |
| "php.suggest.basic": false, | |
| "editor.fontSize": 15, | |
| "editor.fontFamily": "Fira Code, Menlo, Monaco, 'Courier New', monospace", | |
| "editor.lineHeight": 2.25, | |
| "terminal.integrated.fontSize": 14, | |
| "[jsonc]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, |
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
| const getCookieValue = (name) => ( | |
| pm.response.headers.get('Set-Cookie').match('(^|;)\\s*' + name + '\\s*=\\s*([^;]+)')?.pop() || '' | |
| ) | |
| const jwtToken = getCookieValue('jwt-token') | |
| pm.environment.set("jwtToken", jwtToken) |
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
| type Function = (data?: any) => void | |
| const eventMap: Map<string, Function[]> = new Map() | |
| function on(name: string, handler: Function) { | |
| const handlers = eventMap.get(name) || [] | |
| handlers.push(handler) | |
| eventMap.set(name, handlers) | |
| } |
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 | |
| namespace Valet\Drivers\Custom; | |
| use Valet\Drivers\ValetDriver; | |
| /** | |
| * A Valet driver to proxy a sub uri to a Next.js application | |
| * ~/.config/valet/Drivers/NextJsBackendValetDriver.php | |
| */ |
OlderNewer