Skip to content

Commit

Permalink
Merge pull request #1522 from aeternity/feature/fix-app-meta
Browse files Browse the repository at this point in the history
fix: don't fetch metadata over http if loaded via https
  • Loading branch information
davidyuk authored Jan 10, 2024
2 parents 6344295 + 3d10470 commit 1a9df9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/plugins/ui/appsMetadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default (store) => store.registerModule('appsMetadata', {
actions: {
async fetchManifest(_, host) {
const fetchText = async (url) => (await fetch(url)).text();
let appUrl = new URL(`http://${host}`);
let appUrl = new URL(`https://${host}`);
if (appUrl.hostname === 'localhost') return {};

const parser = new DOMParser();
Expand Down

0 comments on commit 1a9df9d

Please sign in to comment.