Created
June 23, 2021 00:18
-
-
Save gabrielEloy/e643f5bc8eca0eec7bf5e957d8f2aa01 to your computer and use it in GitHub Desktop.
services/parse.js
This file contains 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
//at services/parse.js | |
import Parse from 'parse'; | |
//checking if env is browser | |
if (typeof window !== "undefined") { | |
Parse.initialize("APP_ID","JS_KEY"); | |
Parse.serverURL = 'https://parseapi.back4app.com/'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment