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

web_client: False doesn't turn off the in built angular web client. #2113

Closed
APwhitehat opened this issue Apr 9, 2017 · 4 comments
Closed

Comments

@APwhitehat
Copy link
Contributor

APwhitehat commented Apr 9, 2017

web_client: False in homeserver.yaml config file doesn't turn off the built-in angular web client.
Removing webclient from resources.names: [client, webclient] turns it off.

Need to confirm that this was the intended purpose of web_client: False.
If yes, I'll try to fix this.

@Darlelet
Copy link

Darlelet commented Aug 2, 2017

I'm also facing this issue

@Darlelet
Copy link

Darlelet commented Aug 2, 2017

Check out #1883

@ewtoombs
Copy link

ewtoombs commented Aug 4, 2017

I had the same problem. These are the changes I made to my homeserver.yaml:

--- homeserver.yaml-	2017-08-04 15:20:14.653075263 -0400
+++ homeserver.yaml	2017-08-04 15:18:22.910135500 -0400
@@ -50,7 +50,7 @@
 pid_file: /etc/synapse/homeserver.pid
 
 # Whether to serve a web client from the HTTP/HTTPS root resource.
-web_client: True
+web_client: False
 
 # The root directory to server for the above web client.
 # If left undefined, synapse will serve the matrix-angular-sdk web client.
@@ -106,7 +106,7 @@
         # List of resources to host on this listener.
         names:
           - client     # The client-server APIs, both v1 and v2
-          - webclient  # The bundled webclient.
+            #- webclient  # The bundled webclient.
 
         # Should synapse compress HTTP responses to clients that support it?
         # This should be disabled if running synapse behind a load balancer
@@ -126,7 +126,8 @@
     x_forwarded: false
 
     resources:
-      - names: [client, webclient]
+      - names: [client]
+        #- names: [client, webclient]
         compress: true
       - names: [federation]
         compress: false

@aaronraimist
Copy link
Contributor

Duplicate of #1417

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants