Skip to content

Instantly share code, notes, and snippets.

@SimonDoy
Last active January 22, 2020 22:26
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 SimonDoy/ab712c7a0982409b615b5e749ba20254 to your computer and use it in GitHub Desktop.
Save SimonDoy/ab712c7a0982409b615b5e749ba20254 to your computer and use it in GitHub Desktop.
'use strict'
var constantsModule = angular.module('applicationConstantsModule', []);
constantsModule.constant('applicationConstants', {
'clientId':'{clientguidhere}',
'tenantName':'ithinksharepoint.com',
'instance':'https://login.microsoftonline.com/',
'endpoints': {'https://{apiurlhere}.azurewebsites.net/api':'https://ithinksharepoint.com/Itsp365.InvoiceFormApp.Api.Mark2'},
'apiUrl': 'https://{apiurlhere}.azurewebsites.net/api'
});
@ralphwillgoss
Copy link

ralphwillgoss commented Jan 22, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment