Last active
January 22, 2020 22:26
-
-
Save SimonDoy/ab712c7a0982409b615b5e749ba20254 to your computer and use it in GitHub Desktop.
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
'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' | |
}); |
Hi Ralph,
Thanks for taking the time to let me know. I will date, it has been a long time since writing these!
Cheers
Simon
No worries!
…On Wed, Jan 22, 2020 at 9:42 PM Simon Doy ***@***.***> wrote:
Hi Ralph,
Thanks for taking the time to let me know. I will date, it has been a long
time since writing these!
Cheers
Simon
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://gist.github.com/ab712c7a0982409b615b5e749ba20254?email_source=notifications&email_token=AAJYILMSGYJQ4CV6HJC3TU3Q7C4VLA5CNFSM4KKCRKLKYY3PNVWWK3TUL52HS4DFVNDWS43UINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAGAHXW#gistcomment-3149691>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJYILJVNJ6B7R7D4ESURTLQ7C4VLANCNFSM4KKCRKLA>
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Simon,
I know this is old but you use the above example at the end of your article, however is had the capital P back in endpoints - which you corrected earlier.
thanks
Ralph