mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 11:43:59 -05:00
Move old backend code to old_src folder
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
c42d2223e8
commit
7b9f9a487b
97 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
src/lib/ot
|
||||
src/lib/migrations
|
||||
old_src/lib/ot
|
||||
old_src/lib/migrations
|
||||
public/vendor
|
||||
public/build
|
||||
node_modules
|
||||
|
|
|
@ -27,7 +27,7 @@ import { logger } from './logger'
|
|||
import { Revision, sequelize, runMigrations } from './models'
|
||||
import { realtime, State } from './realtime'
|
||||
import { handleTermSignals } from './utils/functions'
|
||||
import { AuthRouter, BaseRouter, HistoryRouter, ImageRouter, NoteRouter, StatusRouter, UserRouter } from './web/'
|
||||
import { AuthRouter, BaseRouter, HistoryRouter, ImageRouter, NoteRouter, StatusRouter, UserRouter } from './web'
|
||||
import { tooBusy, checkURI, redirectWithoutTrailingSlashes, codiMDVersion } from './web/middleware'
|
||||
|
||||
const rootPath = path.join(__dirname, '..')
|
|
@ -30,7 +30,7 @@ import { generate as shortIdGenerate, isValid as shortIdIsValid } from 'shortid'
|
|||
import S from 'string'
|
||||
import { config } from '../config'
|
||||
import { logger } from '../logger'
|
||||
import ot from '../ot'
|
||||
import ot from '../ot/index'
|
||||
import { processData, stripNullByte } from '../utils/functions'
|
||||
import { Author, Revision, User } from './index'
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import imgur from 'imgur'
|
||||
import imgur from 'old_src/lib/web/imageRouter/imgur'
|
||||
|
||||
import { config } from '../../config'
|
||||
import { logger } from '../../logger'
|
|
@ -1,4 +1,4 @@
|
|||
import lutim from 'lutim'
|
||||
import lutim from 'old_src/lib/web/imageRouter/lutim'
|
||||
|
||||
import { config } from '../../config'
|
||||
import { logger } from '../../logger'
|
|
@ -1,6 +1,6 @@
|
|||
import path from 'path'
|
||||
import fs from 'fs'
|
||||
import { Client } from 'minio'
|
||||
import { Client } from 'old_src/lib/web/imageRouter/minio'
|
||||
|
||||
import { config } from '../../config'
|
||||
import { getImageMimeType } from '../../utils/functions'
|
Loading…
Reference in a new issue