Skip to content

Commit

Permalink
jhgj
Browse files Browse the repository at this point in the history
  • Loading branch information
codergautam committed Oct 18, 2024
1 parent df0d1c9 commit 173f628
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/map/mapHome.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default async function handler(req, res) {

// owned maps
// find maps made by user
if(user && false) {
if(user ) {
// created_at, slug, name, hearts,plays, description_short, map_creator_name, _id, in_review, official, accepted, reject_reason, resubmittable, locationsCnt
console.time('findMyMaps');
let myMaps = await Map.find({ created_by: user._id.toString() }).select({
Expand Down
2 changes: 0 additions & 2 deletions components/headContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ export default function HeadContent({text}) {
></script>
<script src="https://sdk.crazygames.com/crazygames-sdk-v3.js"></script>
{/* <script src="https://greggman.github.io/webgl-helpers/webgl-force-preservedrawingbuffer.js"></script> */}
<script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js" defer></script>
<script src="https://greggman.github.io/webgl-helpers/webgl-force-preservedrawingbuffer.js" defer></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3340825671684972"
crossorigin="anonymous">
</script>
Expand Down
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ if (!process.env.MONGODB) {
console.log('[INFO] Database Connected');
} catch (error) {
console.error('[ERROR] Database connection failed!'.red, error.message);
console.log(error);
dbEnabled = false;
}
}
Expand Down

0 comments on commit 173f628

Please sign in to comment.