Added CORS middleware. Updated umami script.

This commit is contained in:
Mike Cao committed 2020-07-18 10:36:46 -07:00
1 parent bb04015b46
commit 58a1c63407
10 files changed
+144 -78

No files matched your search

+2 -1
View File
@@ -1,6 +1,6 @@
create table website (
website_id uuid primary key,
hostname varchar(255) unique not null,
hostname varchar(100) unique not null,
created_at timestamp with time zone default current_timestamp
);
@@ -8,6 +8,7 @@ create table session (
session_id uuid primary key,
website_id uuid references website(website_id) on delete cascade,
created_at timestamp with time zone default current_timestamp,
hostname varchar(100),
browser varchar(20),
os varchar(20),
screen varchar(11),