mirror of
https://github.com/davegallant/rfd-fyi.git
synced 2025-08-15 04:00:19 +00:00
Compare commits
45 Commits
renovate/m
...
ff3b80a4e9
Author | SHA1 | Date | |
---|---|---|---|
|
ff3b80a4e9 | ||
|
d2258f6c36 | ||
|
5dd59be6aa | ||
|
77ad9f82a1 | ||
|
c332d7b0f2 | ||
|
7dc8d88c5a | ||
|
923c696654 | ||
|
008fa15fb4 | ||
|
1d81ec5db1 | ||
|
e6649ed164 | ||
|
2416692599 | ||
|
fd45c0f59b | ||
|
101c076fc7 | ||
|
d54726caf3 | ||
|
5c2af86a7d | ||
|
3fc875747f | ||
|
705ddef485 | ||
|
1b1a16e383 | ||
|
844b55dd5d | ||
|
08f28d2f21 | ||
|
74d017d988 | ||
|
8942c09f5a | ||
|
614c8efb72 | ||
|
21b7af4217 | ||
|
6dce79e164 | ||
|
720cc04874 | ||
|
919edad7db | ||
|
a1b2102b05 | ||
|
e3cb281c85 | ||
|
c5dfe13931 | ||
|
287dfd2342 | ||
|
5d5d353520 | ||
|
4ae3e97d89 | ||
|
59ec1761a8 | ||
|
1cc50f9797 | ||
|
c64b121875 | ||
|
c6b7cf43b5 | ||
|
69177cd495 | ||
|
736354d15a | ||
|
b1df149c5e | ||
|
7e59cd256a | ||
|
1c5059e4cb | ||
|
e1e662c1ed | ||
|
944a5efff0 | ||
|
377afec5a4 |
@@ -10,7 +10,7 @@ COPY . .
|
|||||||
|
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM caddy:2.8.4-alpine as runtime
|
FROM caddy:2.9.1-alpine as runtime
|
||||||
|
|
||||||
WORKDIR /my-site
|
WORKDIR /my-site
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# syntax=docker/dockerfile:1.9
|
# syntax=docker/dockerfile:1.13
|
||||||
FROM cgr.dev/chainguard/go:latest as build
|
FROM cgr.dev/chainguard/go:latest as build
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
@@ -91,12 +91,15 @@ func (a *App) refreshTopics() {
|
|||||||
for {
|
for {
|
||||||
log.Info().Msg("Refreshing topics")
|
log.Info().Msg("Refreshing topics")
|
||||||
latestTopics := a.getDeals(9, 1, 6)
|
latestTopics := a.getDeals(9, 1, 6)
|
||||||
|
|
||||||
|
if len(latestTopics) > 0 {
|
||||||
latestTopics = a.updateScores(latestTopics)
|
latestTopics = a.updateScores(latestTopics)
|
||||||
|
|
||||||
log.Info().Msg("Refreshing redirects")
|
log.Info().Msg("Refreshing redirects")
|
||||||
latestRedirects := a.getRedirects()
|
latestRedirects := a.getRedirects()
|
||||||
a.Redirects = latestRedirects
|
a.Redirects = latestRedirects
|
||||||
a.CurrentTopics = a.stripRedirects(latestTopics)
|
a.CurrentTopics = a.stripRedirects(latestTopics)
|
||||||
|
}
|
||||||
|
|
||||||
a.LastRefresh = time.Now()
|
a.LastRefresh = time.Now()
|
||||||
rand.Seed(time.Now().UnixNano())
|
rand.Seed(time.Now().UnixNano())
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
version: "3.9"
|
|
||||||
services:
|
services:
|
||||||
frontend:
|
frontend:
|
||||||
image: ghcr.io/davegallant/rfd-fyi-frontend
|
image: ghcr.io/davegallant/rfd-fyi-frontend
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
version: "3.9"
|
|
||||||
services:
|
services:
|
||||||
frontend:
|
frontend:
|
||||||
build:
|
build:
|
||||||
|
16006
package-lock.json
generated
16006
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -19,9 +19,8 @@
|
|||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
"vue": "^3.3.4",
|
"vue": "^3.3.4",
|
||||||
"vue-github-button": "^3.0.3",
|
"vue-github-button": "^3.0.3",
|
||||||
"vue-gtag": "^2.0.1",
|
|
||||||
"vue-loading-overlay": "^6.0.3",
|
"vue-loading-overlay": "^6.0.3",
|
||||||
"vue-router": "4.4.3"
|
"vue-router": "4.5.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.22.10",
|
"@babel/core": "^7.22.10",
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.2 KiB |
@@ -11,6 +11,7 @@
|
|||||||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200"
|
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200"
|
||||||
/>
|
/>
|
||||||
<title>rfd.fyi - An overlay of hot deals</title>
|
<title>rfd.fyi - An overlay of hot deals</title>
|
||||||
|
<script defer src="https://umami.snake-cloud.ts.net/script.js" data-website-id="59ffe8be-509a-471e-8cd6-a63c5b35b7aa"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
import { createApp } from "vue";
|
import { createApp } from "vue";
|
||||||
import App from "./App.vue";
|
import App from "./App.vue";
|
||||||
import VueGtag from "vue-gtag";
|
|
||||||
import { createRouter, createWebHashHistory } from "vue-router";
|
import { createRouter, createWebHashHistory } from "vue-router";
|
||||||
|
|
||||||
import "bootstrap/dist/css/bootstrap.min.css";
|
import "bootstrap/dist/css/bootstrap.min.css";
|
||||||
@@ -15,9 +14,7 @@ const router = createRouter({
|
|||||||
routes,
|
routes,
|
||||||
});
|
});
|
||||||
|
|
||||||
const app = createApp(App).use(VueGtag, {
|
const app = createApp(App);
|
||||||
config: { id: "G-YF11ZH9SYD" },
|
|
||||||
});
|
|
||||||
|
|
||||||
app.use(router);
|
app.use(router);
|
||||||
app.mount("#app");
|
app.mount("#app");
|
||||||
|
Reference in New Issue
Block a user