Skip to content

Commit

Permalink
impropve osdd
Browse files Browse the repository at this point in the history
  • Loading branch information
dadatuputi committed Dec 9, 2024
1 parent 2aa81ed commit 6bad5b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
docs
docs
_site
3 changes: 2 additions & 1 deletion src/osdd.xml.pug
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<InputEncoding>utf-8</InputEncoding>
<Image width="16" height="16" type="image/svg+xml">data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiCiAgIHdpZHRoPSIyMDQwIiBoZWlnaHQ9IjEwODAiIHZpZXdCb3g9IjAgMCAyMDQgMTA4Ij4KICA8dGl0bGU+Um91bmRlbCBvZiB0aGUgVVNBRjwvdGl0bGU+CiAgPG1ldGFkYXRhPjxyZGY6UkRGPjxjYzpXb3JrIHJkZjphYm91dD0iIj4KICAgIDxkYzpmb3JtYXQ+aW1hZ2Uvc3ZnK3htbDwvZGM6Zm9ybWF0PgogICAgPGRjOnR5cGUgcmRmOnJlc291cmNlPSJodHRwOi8vcHVybC5vcmcvZGMvZGNtaXR5cGUvU3RpbGxJbWFnZSIvPgogICAgPGRjOnRpdGxlPlJvdW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XNlIHhsaW5rOmhyZWY9IiNjb25lIiB0cmFuc2Zvcm09InJvdGF0ZSgxNDQpIi8+CiAgICA8dXNlIHhsaW5rOmhyZWY9IiNjb25lIiB0cmFuc2Zvcm09InJvdGF0ZSgtMTQ0KSIvPgogIDwvZz4KPC9zdmc+</Image>
<Url type="text/html" template="#{baseurl}/?q={searchTerms}" />
<Url type="application/json" rel="suggestions" template="#{suggesturl}" />
<Url type="application/x-suggestions+json" rel="suggestions" template="#{suggesturl}" />
<Url type="application/opensearchdescription+xml" rel="self" template="#{baseurl}/osdd.xml" />
<moz:SearchForm>#{baseurl}</moz:SearchForm>
</OpenSearchDescription>
2 changes: 1 addition & 1 deletion updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (environment === 'production') {
}
} else {
locals = {
baseurl: "http://dev.lan",
baseurl: "http://dev.lan:4000",
suggesturl: "http://aflink-autocomplete.aswang.workers.dev/search/{searchTerms}"
}
}
Expand Down

0 comments on commit 6bad5b6

Please sign in to comment.