I hereby claim:
- I am stefangomez on github.
- I am stefangomez (https://keybase.io/stefangomez) on keybase.
- I have a public key ASBmkPGi5kMyTxtZbZ2SeUTyCIphCOaSxBC4yDZzqHRdcAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import Amplify from "@aws-amplify/core"; | |
| import Auth from "@aws-amplify/auth"; | |
| import { setContext } from "apollo-link-context"; | |
| import { ApolloLink } from "apollo-link"; | |
| import { createHttpLink } from "apollo-link-http"; | |
| import AWSAppSyncClient, { AUTH_TYPE, createAppSyncLink } from "aws-appsync"; | |
| import awsConfig from "../aws-exports"; | |
| Amplify.configure({ | |
| ...awsConfig, |
| import Amplify from "@aws-amplify/core"; | |
| import Auth from "@aws-amplify/auth"; | |
| import { setContext } from "apollo-link-context"; | |
| import { ApolloLink } from "apollo-link"; | |
| import { createHttpLink } from "apollo-link-http"; | |
| import AWSAppSyncClient, { AUTH_TYPE, createAppSyncLink } from "aws-appsync"; | |
| import awsConfig from "../aws-exports"; | |
| Amplify.configure({ | |
| ...awsConfig, |
Add the following to /etc/pf.anchors/myname:
rdr pass on lo0 inet proto tcp from any to any port 80 -> 127.0.0.1 port 4000
rdr pass on lo0 inet proto tcp from any to any port 443 -> 127.0.0.1 port 4001Add the following to /etc/pf-myname.conf:
rdr-anchor "forwarding"
load anchor "forwarding" from "/etc/pf.anchors/myname"