forked from External/greenlight
		
	fallback to rails default when '/' root supplied
This commit is contained in:
		@@ -88,5 +88,7 @@ Rails.application.configure do
 | 
				
			|||||||
  # Do not dump schema after migrations.
 | 
					  # Do not dump schema after migrations.
 | 
				
			||||||
  config.active_record.dump_schema_after_migration = false
 | 
					  config.active_record.dump_schema_after_migration = false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  config.relative_url_root = ENV['RAILS_RELATIVE_URL_ROOT'] || '/b'
 | 
					  if ENV['RELATIVE_URL_ROOT'] != '/'
 | 
				
			||||||
 | 
					    config.relative_url_root = ENV['RELATIVE_URL_ROOT'] || '/b'
 | 
				
			||||||
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								env
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								env
									
									
									
									
									
								
							@@ -67,6 +67,6 @@ GOOGLE_OAUTH2_SECRET=
 | 
				
			|||||||
# Prefix for the application's root URL
 | 
					# Prefix for the application's root URL
 | 
				
			||||||
# Useful for deploying the application to a subdirectory
 | 
					# Useful for deploying the application to a subdirectory
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
#   default: '/b' (recommended)
 | 
					#   default is '/b' (recommended)
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
#RAILS_RELATIVE_URL_ROOT=/b
 | 
					#RELATIVE_URL_ROOT=/b
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user