Skip to content

Instantly share code, notes, and snippets.

@gabrielEloy
Created June 23, 2021 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabrielEloy/a45eaffc2d1aea976235d4d3fbe6bbfb to your computer and use it in GitHub Desktop.
Save gabrielEloy/a45eaffc2d1aea976235d4d3fbe6bbfb to your computer and use it in GitHub Desktop.
import Parse from 'parse';
if (typeof window !== "undefined") {
Parse.initialize(process.env.PARSE_APP_ID,process.env.PARSE_JS_KEY);
Parse.serverURL = 'https://parseapi.back4app.com/';
}
export default Parse;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment