Added world map component.

This commit is contained in:
Mike Cao 2020-08-01 03:34:56 -07:00
parent e4e7f5b05c
commit a65f637df2
10 changed files with 545 additions and 79 deletions

View file

@ -1,7 +1,7 @@
import { getRankings } from 'lib/db';
import { useAuth } from 'lib/middleware';
const sessionColumns = ['browser', 'os', 'screen'];
const sessionColumns = ['browser', 'os', 'screen', 'country'];
const pageviewColumns = ['url', 'referrer'];
export default async (req, res) => {