Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from eukarya-inc/refactor-filename
Browse files Browse the repository at this point in the history
Refactor: file name
  • Loading branch information
tomoyane authored Apr 14, 2024
2 parents 8e4d981 + 6eabf34 commit 5a4cb9d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy dev
name: Deploy reearth help dev
on:
workflow_dispatch:
env:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy prod
name: Deploy reearth help prod
on:
workflow_dispatch:
env:
Expand Down
4 changes: 2 additions & 2 deletions src/lib/htmlParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class HtmlParser {

// Note
// Replace og:image data without dom because set original image url.
// If you are using DOM, the url is escaped.
// If it uses DOM, the url is escaped.
replaceMetaImageWithoutDom(htmlStr) {
if (this.pageImageUrl !== '') {
htmlStr = htmlStr.replace(/(<meta property="og:image" content=")([^"]*)("[^>]*>)/g, `$1${this.pageImageUrl}$3`);
Expand All @@ -47,7 +47,7 @@ class HtmlParser {

// Note
// Replace icon data without dom because set original icon url.
// If you are using DOM, the url is escaped.
// If it uses DOM, the url is escaped.
replaceLinkIconWithoutDom(htmlStr) {
if (this.iconUrl !== '') {
const notionDefaultType = "image/x-icon";
Expand Down

0 comments on commit 5a4cb9d

Please sign in to comment.