Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaS7 committed Jan 7, 2024
1 parent 657805d commit 1ed2b0f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .firebase/hosting.cHVibGlj.cache
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
404.html,1704535863767,0b77652ad9ae01361a207cb6bb37d1ee6f29e7d74077105d85f7184980438bf3
style.css,1704532706862,3450edaacac5eb75c8e6b307763a238795b8589897ff387927d5cba914b65dd8
images/default-thumbnail.jpg,1703874460077,3f157cb1240122880a98a17a69b5a79c227741307f41ec67165204bcb7c41da0
images/search.png,1703740965038,1e748099f6490bf0fcdd26669f7f879343f8a928885bd806f9fd14ef6b0ec023
images/sign-out.png,1704084554518,f479f2d6cc4f831e5e4c24b03f38d6203d464f42550258a235bca767627c8e61
auth.js,1704525122206,40b4cd505b6a5920f57488b7b62a36b5fabc8ac2079422c8d2fffc8e84165868
android-chrome-192x192.png,1704620295589,7dd4d4b59f0409636c8c637c0839e285a83bd5686b6ebddf81f6677093b9a75a
android-chrome-512x512.png,1704620295609,a84cb985f5bd805eb97060fad77c5521752986e378d5916354bbc62a7fd846dd
apple-touch-icon.png,1704620295462,1d69e1ef592e2da593c3a9717ab4949f1219587eed35c19b14e3baa54ad2247f
auth.js,1704525122206,40b4cd505b6a5920f57488b7b62a36b5fabc8ac2079422c8d2fffc8e84165868
favicon-16x16.png,1704620295510,908fbfd4a9183a3063270f8bcb0b441f7ff4376181d0e273048b34074f614211
favicon-32x32.png,1704620295480,9d550da4474a597f7c83b4ec3c9f44d45fb9fa9fe78048ee7a012381652a64cb
favicon.ico,1704620295532,0b0169eafe7a1585389c08f80e6b57a0784dd86653a07374cce16ad430766e7c
firebase-config.js,1704084272810,6225e9382bf874c421a21b9db2782d45895913f9c90c55e62f2a4993eccbd7f9
login.html,1704620587972,12188c06a2cc063bf1746628a3a608c958f95cef981a8e26dc1344ebdc1abe88
index.html,1704620602290,c2465c328cbbf875895a2db8c712ea677181b8fb062c5f52f374c1b0cd7ac059
login.html,1704620587972,12188c06a2cc063bf1746628a3a608c958f95cef981a8e26dc1344ebdc1abe88
site.webmanifest,1704620295562,378695d4af8bdaf357a5e2404faa02cc43fde62b92e2cb35f19e143dea1a1816
script.js,1704614264490,9c1cef3af96a3ea9a2c9b8a4fab6522d802705fc0be8b5e2a86f59844ba6eace
android-chrome-192x192.png,1704620295589,7dd4d4b59f0409636c8c637c0839e285a83bd5686b6ebddf81f6677093b9a75a
favicon.ico,1704620295532,0b0169eafe7a1585389c08f80e6b57a0784dd86653a07374cce16ad430766e7c
android-chrome-512x512.png,1704620295609,a84cb985f5bd805eb97060fad77c5521752986e378d5916354bbc62a7fd846dd
style.css,1704532706862,3450edaacac5eb75c8e6b307763a238795b8589897ff387927d5cba914b65dd8
images/default-thumbnail.jpg,1703874460077,3f157cb1240122880a98a17a69b5a79c227741307f41ec67165204bcb7c41da0
images/search.png,1703740965038,1e748099f6490bf0fcdd26669f7f879343f8a928885bd806f9fd14ef6b0ec023
images/sign-out.png,1704084554518,f479f2d6cc4f831e5e4c24b03f38d6203d464f42550258a235bca767627c8e61
script.js,1704621886525,9ff44d746bf0442ecd2a1dcbe815896a8ff70cae2da082dae9f95ec21e61f224
3 changes: 3 additions & 0 deletions server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ const pool = require("./dbConfig");
const dotenv = require("dotenv");
dotenv.config({ path: "./env.default" });
const express = require("express");
const path = require('path');
const cors = require("cors");

const app = express();

app.use(express.static(path.join(__dirname, 'public')));

app.use(cors({ origin: 'https://chuck-stewart-archive.web.app' }));

app.use(express.json()); // For parsing application/json
Expand Down

0 comments on commit 1ed2b0f

Please sign in to comment.