docker-ifyed.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
[auto-ap.config :as config]
|
||||
[auto-ap.effects :as effects]
|
||||
[pushy.core :as pushy]
|
||||
[auto-ap.pushy :as p]
|
||||
[auto-ap.history :as p]
|
||||
[bidi.bidi :as bidi]))
|
||||
|
||||
(defn dev-setup []
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
(:require [re-frame.core :as re-frame]
|
||||
[cljs-http.client :as http]
|
||||
[cljs.core.async :refer [<!]]
|
||||
[auto-ap.pushy :as p]
|
||||
[auto-ap.history :as p]
|
||||
[pushy.core :as pushy]))
|
||||
|
||||
(re-frame/reg-fx
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
(ns auto-ap.pushy
|
||||
(ns auto-ap.history
|
||||
(:require [bidi.bidi :as bidi]
|
||||
[pushy.core :as pushy]
|
||||
[auto-ap.routes :as routes]
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
|
||||
(def login-url
|
||||
(let [client-id "264081895820-0nndcfo3pbtqf30sro82vgq5r27h8736.apps.googleusercontent.com"
|
||||
redirect-uri "http%3A%2F%2Flocalhost%3A3449%2Fapi%2Foauth"]
|
||||
redirect-uri (js/encodeURI (str (.-origin (.-location js/window)) "/api/oauth"))]
|
||||
(str "https://accounts.google.com/o/oauth2/auth?access_type=online&client_id=" client-id "&redirect_uri=" redirect-uri "&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile")))
|
||||
|
||||
Reference in New Issue
Block a user