Update k8s/games/minecraft/deployments.yaml
All checks were successful
Check with kubeconform / lint (push) Successful in 10s
All checks were successful
Check with kubeconform / lint (push) Successful in 10s
This commit is contained in:
@@ -25,14 +25,7 @@ data:
|
||||
location / {
|
||||
proxy_pass http://localhost:8123;
|
||||
sub_filter 'Minecraft Dynamic Map' "Hexor's MC server";
|
||||
sub_filter "</body>" '<p style="background-color: #CEC6CB; color: black; padding: 10px 10px; text-align: center; font-size: large; text-decoration: none; display: inline-block; border-radius: 4px; position: absolute; top: 10px; left: 150px;">Get <a href="https://github.com/PrismLauncher/PrismLauncher/releases/tag/8.4" >Prism Launcher</a> and <a href="/clients/1.12.2.zip" >client.zip</a> for this server. Server address <b>minecraft.hexor.cy:30565</b><br><br><a href="#" onclick="showInstallScript(); return false;" style="color: #0066cc; text-decoration: underline;">Windows Install Script</a></p>
|
||||
<script>
|
||||
function showInstallScript() {
|
||||
var scriptText = "iwr -useb https://minecraft.hexor.cy/clients/win-install.ps1 | iex";
|
||||
alert("Copy and paste this command into PowerShell (run as Administrator):\\n\\n" + scriptText);
|
||||
}
|
||||
</script>
|
||||
</body>';
|
||||
sub_filter "</body>" '<p style="background-color: #CEC6CB; color: black; padding: 10px 10px; text-align: center; font-size: large; text-decoration: none; display: inline-block; border-radius: 4px; position: absolute; top: 10px; left: 150px;">Get <a href="https://github.com/PrismLauncher/PrismLauncher/releases/tag/8.4" >Prism Launcher</a> and <a href="/clients/1.12.2.zip" >client.zip</a> for this server. Server address <b>minecraft.hexor.cy:30565</b><br><br><a href="#" onclick="showInstallScript(); return false;" style="color: #0066cc; text-decoration: underline;">Windows Install Script</a></p><script>function showInstallScript() {var scriptText = "iwr -useb https://minecraft.hexor.cy/clients/win-install.ps1 | iex";alert("Copy and paste this command into PowerShell (run as Administrator):\\n\\n" + scriptText);}</script></body>';
|
||||
sub_filter_once off;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user