Class: Inertia::Configuration::Ssr
- Inherits:
-
Object
- Object
- Inertia::Configuration::Ssr
- Defined in:
- lib/inertia/configuration.rb
Overview
Stores configuration for server-side rendering.
Instance Attribute Summary collapse
-
#build_path ⇒ Pathname?
The path to the SSR build output.
-
#enabled ⇒ Boolean
Whether SSR is enabled.
-
#url ⇒ String
The URL of the SSR server (default:
http://localhost:13714).
Instance Attribute Details
#build_path ⇒ Pathname?
Returns the path to the SSR build output.
128 129 130 |
# File 'lib/inertia/configuration.rb', line 128 def build_path @build_path end |
#enabled ⇒ Boolean
Returns whether SSR is enabled.
122 123 124 |
# File 'lib/inertia/configuration.rb', line 122 def enabled @enabled end |
#url ⇒ String
Returns the URL of the SSR server (default: http://localhost:13714).
125 126 127 |
# File 'lib/inertia/configuration.rb', line 125 def url @url end |