refactor: Use path alias
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import * as elasticsearch from '@elastic/elasticsearch';
|
||||
import config from '../config';
|
||||
import config from '@/config';
|
||||
|
||||
const index = {
|
||||
settings: {
|
||||
|
@@ -3,7 +3,7 @@ const types = require('pg').types;
|
||||
types.setTypeParser(20, Number);
|
||||
|
||||
import { createConnection, Logger, getConnection } from 'typeorm';
|
||||
import config from '../config';
|
||||
import config from '@/config';
|
||||
import { entities as charts } from '../services/chart/entities';
|
||||
import { dbLogger } from './logger';
|
||||
import * as highlight from 'cli-highlight';
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import * as redis from 'redis';
|
||||
import config from '../config';
|
||||
import config from '@/config';
|
||||
|
||||
export function createConnection() {
|
||||
return redis.createClient(
|
||||
|
Reference in New Issue
Block a user