Skip to content

Commit a63873d

Browse files
committed
Merge branch 'develop'
2 parents 2718d97 + c5b622d commit a63873d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "les-projets-cagnottes",
3-
"version": "0.10.0",
3+
"version": "0.10.1",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",

src/app/_services/file/file.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class FileService {
1414
private configService: ConfigService) { }
1515

1616
getUploadPath(directory: string, isInOrg: boolean): string {
17-
var path = 'http://localhost:8080/api/files/image?directory=orgs/'
17+
var path = `${ this.configService.get('apiUrl') }/files/image?directory=orgs/`
1818
if(isInOrg) {
1919
path+= this.authenticationService.currentOrganizationValue.id + '/'
2020
}

0 commit comments

Comments
 (0)