浏览代码

Fix beer service to point to localhost

Matt Raible 7 年前
父节点
当前提交
304c86810a
共有 3 个文件被更改,包括 3349 次插入2 次删除
  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 查看文件

@@ -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 查看文件

@@ -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
文件差异内容过多而无法显示
查看文件