Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Notplayingallday383 committed Jul 22, 2024
1 parent 0e6000d commit 3fcea0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
- [ ] Add support for raw headers
- [ ] Fix nextJS sites
- [ ] Fix links (leaving the proxy and duplicating the origin) [In Progress]
- [ ] Add Media Element rewriting (video/audio elements etc)
- [x] Add Media Element rewriting (video/audio elements etc) [Stub] - Implementation notes: Youtube's video player is currently not working. Only elements with `<video>` or `<audio>` work
- [x] Fix inline styles
- [ ] Fix inline text functions
- [ ] Docs pages
- [ ] Rum rewriters on another thread (maybe)
- [ ] Run rewriters on another thread (maybe)
- [x] Websocket support
- [ ] Bootstrapper (future)
5 changes: 0 additions & 5 deletions src/client/apis/location.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ Object.defineProperties(window.$location, {
},
href: {
get() {
// let url = new URL(location.href).toString()
// if (url.includes(location.origin)) {
// url = url.split(location.origin).join(location.origin)
// }
// return url
return self.$meteor.util.createOrigin().href
},
set(value) {
Expand Down
2 changes: 1 addition & 1 deletion src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class MeteorServiceWorker {
<p class="mt-4 text-gray-500 text-left">Version: <span class="p-1.5 px-2 bg-gray-100 font-mono text-sm rounded-md">${version}</span></p>
<pre class="rounded-md bg-gray-100 p-4 text-left text-sm text-gray-500 overflow-x-scroll">${error}</pre>
<div class="flex space-x-2">
<button onclick="window.location.reload()" class="rounded-md border border-transparent bg-gray-800 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-gray-900 flex-1 transition-all">
<button onclick="window.location.reload()" class="rounded-md border border-transparent bg-gray-100 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-gray-900 flex-1 transition-all">
Reload Page
</button>
<a href="https://github.com/meteorproxy/meteor/issues/new" target="_blank" class="rounded-md border-2 border-gray-800 px-4 py-2 text-sm font-medium text-gray-800 hover:bg-gray-800 hover:text-white flex-1 transition-all">
Expand Down

0 comments on commit 3fcea0e

Please sign in to comment.