Skip to content

Commit

Permalink
smol changes for prod
Browse files Browse the repository at this point in the history
  • Loading branch information
toBeOfUse committed Jan 4, 2024
1 parent 8cef559 commit 2c2ab5e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ app.use("*", db.withRemult, (req, res, next) => {
});
});

// app.set("trust proxy", 1);
// needed so this app knows it's behind a https reverse proxy when creating
// callback urls for oauth. also for receiving ip addresses i guess
app.set("trust proxy", 1);

// app.use(require("./routes"));
// app.use(
// "/api",
Expand Down
2 changes: 1 addition & 1 deletion src/components/MeetingCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="event-container" :style="background ? {background} : {}">
<div class="cover-photo" v-if="event.photo" :style="{backgroundImage: `url(${event.photo})`}" />
<div class="event">
<component class="event-title" :is="event.link ? 'a' : 'span'" :href="event.link" target="_blank">
<component class="event-title" :is="event.link ? 'a' : 'span'" :href="event.link" target="_blank" style="color:white">
<img class="external-link" v-if="event.link.startsWith('https://github.com')"
style="height: 30px" src="@/assets/images/github-white.svg" />
<img v-else-if="event.link" style="height: 26px;margin-right:10px" src="@/assets/external-link.svg" />
Expand Down
1 change: 1 addition & 0 deletions src/components/navigation/Navbar.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<template>
<!-- TODO: make visible navbar header less tall on mobile -->
<div class="navbar"
v-bind:class="{ 'scrolled': scrolled, 'fixed': !scrollNav, 'animated': !scrollNav && from }"
v-bind:style="{ 'padding': padding, 'background-color': color, 'box-shadow': shadow, }"
Expand Down
2 changes: 1 addition & 1 deletion src/views/EditEvents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
:src="imagePreview"
:stencil-props="{ aspectRatio: 2.5 }"
></cropper>
<button @click="() => cropDoneCallback()">Save</button>
<button @click="() => cropDoneCallback()">Crop</button>
</div>
</dialog>
</div>
Expand Down

0 comments on commit 2c2ab5e

Please sign in to comment.