Skip to content

Commit

Permalink
fix url for ai global styles
Browse files Browse the repository at this point in the history
  • Loading branch information
GunkaArtur committed Apr 12, 2024
1 parent 477e691 commit bdcd3c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/editor-client/src/aiGlobalStyles/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { t } from "@/utils/i18n";
import { Palette, FontStyle, AiGlobalStyles } from "../types/DefaultTemplate";
import { AiGlobalStyles, FontStyle, Palette } from "../types/DefaultTemplate";

export const getAIGlobalStyles = (): AiGlobalStyles<Palette, FontStyle> => {
const apiUrl = "https://4c05-87-255-68-163.ngrok-free.app/api/template-2";
const apiUrl = "https://242b-87-255-68-163.ngrok-free.app/api/template";

return {
async getColors(res, rej) {
Expand All @@ -22,6 +22,6 @@ export const getAIGlobalStyles = (): AiGlobalStyles<Palette, FontStyle> => {
} catch (e) {
rej(t("Failed to load resolves for selected DefaultTemplate"));
}
},
}
};
};

0 comments on commit bdcd3c5

Please sign in to comment.