Compare commits
No commits in common. "6bf5a48d3f4f95b786149be7485b7965b8720df3" and "9bc4b463efbd017e9f5ad68aef9f6850a7c29e41" have entirely different histories.
6bf5a48d3f
...
9bc4b463ef
4
go.mod
4
go.mod
@ -1,5 +1,3 @@
|
|||||||
module deadbeef.codes/steven/ynab-portfolio-monitor
|
module deadbeef.codes/steven/ynab-portfolio-monitor
|
||||||
|
|
||||||
go 1.22
|
go 1.21.4
|
||||||
|
|
||||||
// Goal is no third party dependencies
|
|
||||||
|
@ -149,7 +149,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="loader-inner-header">
|
<div class="loader-inner-header">
|
||||||
<h1 style="color:white";>YNAB Portfolio Sync</h1>
|
<h1 style="color:white";>YNAB Portfolio Sync</h1>
|
||||||
<h3 style="color:#fff";>Created by Steven Polley</h3>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -35,8 +35,6 @@ func homePageHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
//http.Redirect(w, r, fmt.Sprintf("https://app.ynab.com/%s", ynabClient.BudgetID), http.StatusSeeOther)
|
//http.Redirect(w, r, fmt.Sprintf("https://app.ynab.com/%s", ynabClient.BudgetID), http.StatusSeeOther)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns status 200 if a refresh is not running, otherwise waits for refresh to finish
|
|
||||||
// Can be used by clients to tell when a refresh finishes
|
|
||||||
func statusHandler(w http.ResponseWriter, r *http.Request) {
|
func statusHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
refreshRunning.Lock()
|
refreshRunning.Lock()
|
||||||
w.WriteHeader(http.StatusOK)
|
w.WriteHeader(http.StatusOK)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user