Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
X-tee
X-Road-catalogue
Commits
9542926a
Commit
9542926a
authored
Mar 06, 2019
by
Vitali Stupin
Browse files
fixing translation loader
parent
1d3346c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/app.module.ts
View file @
9542926a
...
...
@@ -41,5 +41,6 @@ import { HeaderComponent } from './header/header.component';
export
class
AppModule
{
}
export
function
HttpLoaderFactory
(
http
:
HttpClient
)
{
return
new
TranslateHttpLoader
(
http
);
// Providing path as a workaround for ngx-translate bug with --base-href option
return
new
TranslateHttpLoader
(
http
,
'
./assets/i18n/
'
);
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment