aboutsummaryrefslogtreecommitdiff
path: root/src/server/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/index.ts')
-rw-r--r--src/server/index.ts11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/server/index.ts b/src/server/index.ts
index 6105dedcc..1f105e9d2 100644
--- a/src/server/index.ts
+++ b/src/server/index.ts
@@ -29,7 +29,6 @@ import { RouteStore } from './RouteStore';
import v4 = require('uuid/v4');
const app = express();
const config = require('../../webpack.config');
-const OAuthConfig = require('../server/credentials/google_photos_credentials');
import { createCanvas, loadImage, Canvas } from "canvas";
const compiler = webpack(config);
const port = 1050; // default port to listen
@@ -43,11 +42,11 @@ var AdmZip = require('adm-zip');
import * as YoutubeApi from "./apis/youtube/youtubeApiSample";
import { Response } from 'express-serve-static-core';
import { GoogleApiServerUtils } from "./apis/google/GoogleApiServerUtils";
-import { GaxiosResponse } from 'gaxios';
-import { Opt } from '../new_fields/Doc';
-import { docs_v1 } from 'googleapis';
-import { Endpoint } from 'googleapis-common';
-import { PhotosLibraryQuery } from './apis/google/GooglePhotosUtils';
+// import { GaxiosResponse } from 'gaxios';
+// import { Opt } from '../new_fields/Doc';
+// import { docs_v1 } from 'googleapis';
+// import { Endpoint } from 'googleapis-common';
+// import { PhotosLibraryQuery } from './apis/google/GooglePhotosUtils';
const MongoStore = require('connect-mongo')(session);
const mongoose = require('mongoose');
const probe = require("probe-image-size");