Преглед на файлове

Use new https URL for screenshots

tags/v1.0
Matt Baer преди 8 години
родител
ревизия
b0d458adea
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +1
    -1
      construction.go
  2. +1
    -1
      templates/browse.html

+ 1
- 1
construction.go Целия файл

@@ -89,7 +89,7 @@ func addPublicAccess(app *app, houseID, html string) error {
data := url.Values{}
data.Set("url", fmt.Sprintf("%s/%s.html", app.cfg.HostName, houseID))

u, err := url.ParseRequestURI("http://peeper.html.house")
u, err := url.ParseRequestURI("https://peeper.html.house")
u.Path = "/"
urlStr := fmt.Sprintf("%v", u)



+ 1
- 1
templates/browse.html Целия файл

@@ -38,7 +38,7 @@
</header>

{{ range .Houses }}<div class="open-house">
<a href="/{{.ID}}.html"><img src="http://peeper.html.house/{{.ThumbURL}}" />
<a href="/{{.ID}}.html"><img src="https://peeper.html.house/{{.ThumbURL}}" />
<div class="house-name">{{.Title}}</div></a>
</div>{{end}}



Зареждане…
Отказ
Запис