소스 검색

Not client API, spring boot!

Matt Raible 7 년 전
부모
커밋
d88e17080f
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2
    4
      TUTORIAL.md

+ 2
- 4
TUTORIAL.md 파일 보기

203
 yarn add angular-stormpath-ionic
203
 yarn add angular-stormpath-ionic
204
 ```
204
 ```
205
 
205
 
206
-Modify `src/app/app.module.ts` to define a `stormpathConfig` function. This function is used to configure the `endpointPrefix` to point to the DNS label for your Client API instance. Import `StormpathModule`, `StormpathIonicModule`, and override the instance of `StormpathConfiguration`. You’ll also need to append Stormpath's pre-built Ionic pages to `entryComponents`.
207
-
208
-**NOTE:** You can find and configure your DNS label by logging into https://api.stormpath.com and navigating to Applications > My Application > Policies > Client API > DNS Label. Since mine is “raible”, I’ll be using `raible.apps.stormpath.io` for this example.
206
+Modify `src/app/app.module.ts` to define a `stormpathConfig` function. This function is used to configure the `endpointPrefix` to point to your Spring Boot API. Import `StormpathModule`, `StormpathIonicModule`, and override the instance of `StormpathConfiguration`. You’ll also need to append Stormpath's pre-built Ionic pages to `entryComponents`.
209
 
207
 
210
 ```typescript
208
 ```typescript
211
 import { StormpathConfiguration, StormpathModule } from 'angular-stormpath';
209
 import { StormpathConfiguration, StormpathModule } from 'angular-stormpath';
213
 
211
 
214
 export function stormpathConfig(): StormpathConfiguration {
212
 export function stormpathConfig(): StormpathConfiguration {
215
   let spConfig: StormpathConfiguration = new StormpathConfiguration();
213
   let spConfig: StormpathConfiguration = new StormpathConfiguration();
216
-  spConfig.endpointPrefix = 'https://raible.apps.stormpath.io';
214
+  spConfig.endpointPrefix = 'http://localhost:8080';
217
   return spConfig;
215
   return spConfig;
218
 }
216
 }
219
 
217