Skip to content

Commit

Permalink
change API url
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoslig committed Nov 24, 2024
1 parent 22967d8 commit 5191a1d
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 75 deletions.
2 changes: 1 addition & 1 deletion apps/conduit/src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const environment = {
production: true,
api_url: 'https://api.realworld.io/api',
api_url: 'https://real-world-app-39656dff2ddc.herokuapp.com/api',
};
2 changes: 1 addition & 1 deletion apps/conduit/src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

export const environment = {
production: false,
api_url: 'https://api.realworld.io/api',
api_url: 'https://real-world-app-39656dff2ddc.herokuapp.com/api',
};
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
import { AbstractControl } from '@angular/forms';

@Directive({
selector: '[isErrorVisible]'
selector: '[isErrorVisible]',
})
export class IsErrorVisibleDirective implements AfterViewInit {
private readonly templateRef = inject(TemplateRef<unknown>);
Expand Down
96 changes: 24 additions & 72 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,82 +10,34 @@
"importHelpers": true,
"target": "es2015",
"module": "esnext",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
],
"typeRoots": ["node_modules/@types"],
"lib": ["es2017", "dom"],
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"baseUrl": ".",
"paths": {
"@default/*": [
"apps/conduit/src/app/*"
],
"@env/*": [
"apps/conduit/src/environments/*"
],
"@realworld/*": [
"libs/*"
],
"@realworld/articles/article": [
"libs/articles/feature-article/src/index.ts"
],
"@realworld/articles/article-edit": [
"libs/articles/feature-article-edit/src/index.ts"
],
"@realworld/articles/articles-list": [
"libs/articles/feature-articles-list/src/index.ts"
],
"@realworld/articles/data-access": [
"libs/articles/data-access/src/index.ts"
],
"@realworld/auth/data-access": [
"libs/auth/data-access/src/index.ts"
],
"@realworld/auth/feature-auth": [
"libs/auth/feature-auth/src/index.ts"
],
"@realworld/core/api-types": [
"libs/core/api-types/src/index.ts"
],
"@realworld/core/data-access": [
"libs/core/data-access/src/index.ts"
],
"@realworld/core/error-handler": [
"libs/core/error-handler/src/index.ts"
],
"@realworld/core/forms": [
"libs/core/forms/src/index.ts"
],
"@realworld/core/http-client": [
"libs/core/http-client/src/index.ts"
],
"@realworld/home/feature-home": [
"libs/home/feature-home/src/index.ts"
],
"@realworld/profile/data-access": [
"libs/profile/data-access/src/index.ts"
],
"@realworld/profile/feature-profile": [
"libs/profile/feature-profile/src/index.ts"
],
"@realworld/settings/data-access": [
"libs/settings/data-access/src/index.ts"
],
"@realworld/settings/feature-settings": [
"libs/settings/feature-settings/src/index.ts"
],
"@realworld/ui/components": [
"libs/ui/components/src/index.ts"
]
"@default/*": ["apps/conduit/src/app/*"],
"@env/*": ["apps/conduit/src/environments/*"],
"@realworld/*": ["libs/*"],
"@realworld/articles/article": ["libs/articles/feature-article/src/index.ts"],
"@realworld/articles/article-edit": ["libs/articles/feature-article-edit/src/index.ts"],
"@realworld/articles/articles-list": ["libs/articles/feature-articles-list/src/index.ts"],
"@realworld/articles/data-access": ["libs/articles/data-access/src/index.ts"],
"@realworld/auth/data-access": ["libs/auth/data-access/src/index.ts"],
"@realworld/auth/feature-auth": ["libs/auth/feature-auth/src/index.ts"],
"@realworld/core/api-types": ["libs/core/api-types/src/index.ts"],
"@realworld/core/data-access": ["libs/core/data-access/src/index.ts"],
"@realworld/core/error-handler": ["libs/core/error-handler/src/index.ts"],
"@realworld/core/forms": ["libs/core/forms/src/index.ts"],
"@realworld/core/http-client": ["libs/core/http-client/src/index.ts"],
"@realworld/home/feature-home": ["libs/home/feature-home/src/index.ts"],
"@realworld/profile/data-access": ["libs/profile/data-access/src/index.ts"],
"@realworld/profile/feature-profile": ["libs/profile/feature-profile/src/index.ts"],
"@realworld/settings/data-access": ["libs/settings/data-access/src/index.ts"],
"@realworld/settings/feature-settings": ["libs/settings/feature-settings/src/index.ts"],
"@realworld/ui/components": ["libs/ui/components/src/index.ts"]
},
"strict": true
},
"exclude": [
"node_modules",
"tmp"
]
}
"exclude": ["node_modules", "tmp"]
}

0 comments on commit 5191a1d

Please sign in to comment.