-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with IP urls #10
Comments
Hey @locksoft ! For a quick workaround I would recommend adding the IP to your And you could also create a JavaScript file that only fires if the specific port is present.
This way you would create a directory called // Example JavaScript
const port = location.port
if (port == 1337) {
console.log("Hello there!")
} Keep in mind that Hope this helps... EDIT:
I don't think there is a wildcard available to achieve this behavior right now. Also - I don't know if Tamperish can handle symlinks - you could test that and try to create a global file and just symlink this file to each of the TLD directories. This way you only have to manage a single file. Creating symlinks is fairly easy: |
Thanks for your answer, Nicolai. I was able to "remap" plex.nas to the IP url, but I just realized that plex is not working correctly if I don't use an IP. It's a long story but it seems to have some refreshing problem with the photos section. So I need to find a way to make Temperish work with an IP (or, as a general setting, with all websites, anyway the CSS I need to change is quite unique). |
Hey @locksoft, Only the IP address without the port should go into the You need to specify the port in the URL later. Try accessing your local domain by specifying the protocol in the URL for example: Symlinks are pretty much aliases of files or directories. The last bit in my previous answer is an example of the shell command to create such a symlink. The dollar sign just indicates a prompt of a terminal, where you can enter shell commands. So just open up a terminal and enter I recommend researching the bits you didn't understand from my answer like the If you need any further help, just hit me up and I'll try to help you. EDIT: You could also try to make up a unique domain name that probably won't exist out there in public so your browser will less likely try to resolve it in public space. |
Thanks again, Nicolai. However, the (let’s call it’) “Plex bug” makes the website works properly only if I use an IP in the URL bar (it’s the same for every browser, not only Safari). https://forums.plex.tv/t/error-displaying-photos-no-new-media-detection/880066/6 Anyway, my only option for now is use IP only. I’m not in a hurry, so I can wait, but it would be great if in future Tamperish could use a general CSS file that will work everywhere for every website. Something like a * jolly (let’s say “use red text everywhere”). This way I can set my specific CSS for IP based websites like Plex. :) |
I need to access Plex on my NAS via IP: 192.168.0.5:[port number]
I created a folder called "192.168.0.5" but Tamperish keeps saying "no folder set".
I wanted to try adding the port number to the folder but in MacOS the ":" character in file names is forbidden.
How can I solve the problem?
Thanks.
P.S. It would be great also a style in the root, valid for all websites. I moved a css there but it doesn't work.
The text was updated successfully, but these errors were encountered: