From a9f6ae40290ea29a4ae69cd0b096a8de2f8a23e1 Mon Sep 17 00:00:00 2001 From: WilcoApp Date: Thu, 15 Feb 2024 10:04:00 +0000 Subject: [PATCH] Initial commit --- .devcontainer/devcontainer.json | 7 +------ backend/routes/api/comments.js | 5 ----- backend/routes/api/index.js | 1 - 3 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 backend/routes/api/comments.js diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 930afce..171e2d2 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,9 +1,4 @@ { "name": "Anythink Development Container", - "image": "public.ecr.aws/v0a2l7y2/wilco/anythink-devcontainer:latest", - "customizations": { - "vscode": { - "extensions": ["GitHub.copilot", "GitHub.copilot-chat"] - } - } + "image": "public.ecr.aws/v0a2l7y2/wilco/anythink-devcontainer:latest" } diff --git a/backend/routes/api/comments.js b/backend/routes/api/comments.js deleted file mode 100644 index 47b0bc5..0000000 --- a/backend/routes/api/comments.js +++ /dev/null @@ -1,5 +0,0 @@ -const router = require("express").Router(); -const mongoose = require("mongoose"); -const Comment = mongoose.model("Comment"); - -module.exports = router; diff --git a/backend/routes/api/index.js b/backend/routes/api/index.js index 9f23863..380d027 100644 --- a/backend/routes/api/index.js +++ b/backend/routes/api/index.js @@ -4,7 +4,6 @@ router.use('/', require('./users')); router.use('/profiles', require('./profiles')); router.use('/items', require('./items')); router.use('/tags', require('./tags')); -router.use('/comments', require('./comments')); router.use('/ping', require('./ping')); router.use(function(err, req, res, next){