Skip to content

Commit

Permalink
test ios
Browse files Browse the repository at this point in the history
  • Loading branch information
yy4382 committed May 19, 2024
1 parent 9ca95b9 commit b6d9413
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Upload.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as git from "isomorphic-git";
import http from "isomorphic-git/http/web/";
import FS from "@isomorphic-git/lightning-fs";
import { App, Notice, Modal, stringifyYaml } from "obsidian";
import { App, Notice, Modal, stringifyYaml, Platform } from "obsidian";
import { PutObjectCommand, S3Client } from "@aws-sdk/client-s3";
import { Post, StaticExporterSettings } from "@/type";

Expand Down Expand Up @@ -132,6 +132,7 @@ export default class Uploader {
}

private async fs_upload(posts: Post[]): Promise<void> {
if (Platform.isIosApp) return;
const fs = new FS(Uploader.indexedDBName);
const config = this.settings.uploader.git;
const dir = "/posts";
Expand Down

0 comments on commit b6d9413

Please sign in to comment.