This repository has been archived on 2026-08-09. You can view files and clone it, but cannot push or open issues or pull requests.
review-front/src/app/configuration.service.ts

21 lines
352 B
TypeScript

import { Injectable } from '@angular/core';
import * as config from '../../configuration.json'
@Injectable({
providedIn: 'root'
})
export class ConfigurationService {
getApiUrl(): string {
return config.apiURL
}
getServerAddress(): string {
return config.serverAddress
}
getTokenTTL(): number {
return config.tokenTTL
}
}