Compare commits

2 Commits

Author SHA1 Message Date
gamer147
8b44cf2f0c [FA-misc] Couple of misc updates to logic for going live
All checks were successful
CI / build-backend (pull_request) Successful in 1m23s
CI / build-frontend (pull_request) Successful in 45s
2025-12-10 10:17:13 -05:00
gamer147
5c52d29da9 [FA-misc] Fix gateway build
All checks were successful
CI / build-backend (pull_request) Successful in 1m12s
CI / build-frontend (pull_request) Successful in 37s
2025-12-09 23:10:35 -05:00
3 changed files with 3 additions and 5 deletions

View File

@@ -24,6 +24,8 @@ RUN dotnet build "./FictionArchive.API.csproj" -c $BUILD_CONFIGURATION -o /app/b
FROM build AS publish
ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "./FictionArchive.API.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false /p:SkipFusionBuild=true
# Copy pre-composed gateway.fgp from CI build
COPY FictionArchive.API/gateway.fgp /app/publish/
FROM base AS final
WORKDIR /app

View File

@@ -25,8 +25,6 @@ public class Program
.ConfigureFromFile("gateway.fgp")
.CoreBuilder.ApplySaneDefaults();
builder.Services.AddOidcAuthentication(builder.Configuration);
#endregion
var allowedOrigin = builder.Configuration["Cors:AllowedOrigin"] ?? "http://localhost:4321";

View File

@@ -137,11 +137,9 @@ public class NovelpiaAdapter : ISourceAdapter
uint page = 0;
List<ChapterMetadata> chapters = new List<ChapterMetadata>();
List<uint> seenChapterIds = new List<uint>();
uint chapterOrder = 0;
uint chapterOrder = 1;
while (true)
{
await Task.Delay(500);
_logger.LogInformation("Next chapter batch");
var response = await _httpClient.PostAsync(EpisodeListEndpoint, new FormUrlEncodedContent(new Dictionary<string, string>
{
{"novel_no", novelId.ToString()},