Browse Source

Fix beer service to point to localhost

Matt Raible 7 years ago
parent
commit
304c86810a
3 changed files with 3349 additions and 2 deletions
  1. 1
    1
      ionic-beer/package.json
  2. 1
    1
      ionic-beer/src/providers/beer-service.ts
  3. 3347
    0
      ionic-beer/yarn.lock

+ 1
- 1
ionic-beer/package.json View File

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "ionic-beer",
3
-  "author": "Ionic Beer",
3
+  "author": "Matt Raible",
4 4
   "homepage": "https://github.com/oktadeveloper/spring-boot-ionic-example",
5 5
   "private": true,
6 6
   "scripts": {

+ 1
- 1
ionic-beer/src/providers/beer-service.ts View File

@@ -5,7 +5,7 @@ import { Observable } from 'rxjs';
5 5
 
6 6
 @Injectable()
7 7
 export class BeerService {
8
-  public API = 'https://ionic-server-acrodont-protyle.cfapps.io';
8
+  public API = 'http://localhost:8080';
9 9
   public BEER_API = this.API + '/beers';
10 10
 
11 11
   constructor(private http: Http) {}

+ 3347
- 0
ionic-beer/yarn.lock
File diff suppressed because it is too large
View File