The code and data behind xeiaso.net
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

cmd/xesite: fix default patreon token url

Signed-off-by: Xe Iaso <me@xeiaso.net>

Xe Iaso 491d0858 d0fefc7a

+14 -17
+2 -1
.vscode/extensions.json
··· 9 9 "bradlc.vscode-tailwindcss", 10 10 "ronnidc.nunjucks", 11 11 "streetsidesoftware.code-spell-checker", 12 - "pbkit.vscode-pbkit" 12 + "zxh404.vscode-proto3", 13 + "xaver.clang-format" 13 14 ] 14 15 }
+1 -1
cmd/xesite/main.go
··· 25 25 gitRepo = flag.String("git-repo", "https://github.com/Xe/site", "Git repository to clone") 26 26 githubSecret = flag.String("github-secret", "", "GitHub secret to use for webhooks") 27 27 miToken = flag.String("mi-token", "", "Token to use for the mi API") 28 - patreonSaasProxyURL = flag.String("patreon-saasproxy-url", "http://xesite-patreon-saasproxy.flycast/", "URL to use for the patreon saasproxy") 28 + patreonSaasProxyURL = flag.String("patreon-saasproxy-url", "http://xesite-patreon-saasproxy.flycast", "URL to use for the patreon saasproxy") 29 29 siteURL = flag.String("site-url", "https://xeiaso.net/", "URL to use for the site") 30 30 ) 31 31
+6 -8
internal/adminpb/internal.proto
··· 6 6 import "google/protobuf/timestamp.proto"; 7 7 import "xesite.proto"; 8 8 9 - service Patreon { 10 - rpc GetToken (google.protobuf.Empty) returns (PatreonToken); 11 - } 9 + service Patreon { rpc GetToken(google.protobuf.Empty) returns (PatreonToken); } 12 10 13 11 message PatreonToken { 14 - string access_token = 1; 15 - string token_type = 2; 16 - string refresh_token = 3; 17 - google.protobuf.Timestamp expiry = 4; 12 + string access_token = 1; 13 + string token_type = 2; 14 + string refresh_token = 3; 15 + google.protobuf.Timestamp expiry = 4; 18 16 } 19 17 20 18 service Admin { 21 - rpc Rebuild(google.protobuf.Empty) returns (xeiaso.net.BuildInfo); 19 + rpc Rebuild(google.protobuf.Empty) returns (xeiaso.net.BuildInfo); 22 20 }
+5 -7
pb/xesite.proto
··· 5 5 import "google/protobuf/empty.proto"; 6 6 import "google/protobuf/timestamp.proto"; 7 7 8 - service Lume { 9 - rpc Metadata(google.protobuf.Empty) returns (BuildInfo); 10 - } 8 + service Lume { rpc Metadata(google.protobuf.Empty) returns (BuildInfo); } 11 9 12 10 message BuildInfo { 13 - string commit = 1; 14 - google.protobuf.Timestamp build_time = 2; 15 - string go_version = 3; 16 - string deno_version = 4; 11 + string commit = 1; 12 + google.protobuf.Timestamp build_time = 2; 13 + string go_version = 3; 14 + string deno_version = 4; 17 15 }